[Piglit] [PATCH 2/4] framework/tests: fix typo in attribute decorator

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Mon Oct 12 15:13:51 PDT 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/tests/dmesg_tests.py | 6 +++---
 tox.ini                        | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/framework/tests/dmesg_tests.py b/framework/tests/dmesg_tests.py
index aed0d92..7c9c6be 100644
--- a/framework/tests/dmesg_tests.py
+++ b/framework/tests/dmesg_tests.py
@@ -134,7 +134,7 @@ def test_get_dmesg_linux():
                       "but it actually returned {}".format(type(posix))))
 
 
- at attr('privliged')
+ at attr('privileged')
 def test_update_dmesg_with_updates():
     """dmesg.Dmesg.update_dmesg(): updates results when there is a new entry in dmesg
 
@@ -156,7 +156,7 @@ def test_update_dmesg_with_updates():
                              "has been updated.".format(test.__class__)))
 
 
- at attr('privliged')
+ at attr('privileged')
 def test_update_dmesg_without_updates():
     """dmesg.Dmesg.update_dmesg(): does not update results when there is no change in dmesg
 
@@ -365,7 +365,7 @@ def test_json_serialize_updated_result():
     encoder.encode(result)
 
 
- at attr('privliged')
+ at attr('privileged')
 def test_testclasses_dmesg():
     """ Generator that creates tests for """
     lists = [(framework.test.PiglitGLTest, ['attribs'], 'PiglitGLTest'),
diff --git a/tox.ini b/tox.ini
index ca97a51..c03fa07 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@ deps =
     mako
     nose
     coverage
-commands = nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
+commands = nosetests framework/tests --attr="!privileged" --with-cover --cover-package=framework --cover-tests
 
 [testenv:py27-accel]
 passenv=HOME
@@ -27,4 +27,4 @@ deps =
     simplejson
     lxml
     backports.lzma
-commands = nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
+commands = nosetests framework/tests --attr="!privileged" --with-cover --cover-package=framework --cover-tests
-- 
2.6.1



More information about the Piglit mailing list