summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-10-12 12:58:05 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2015-10-19 15:50:18 -0700
commit5c0af4b0a913a1c644457f486fd50b6359aebdf2 (patch)
tree547847a1bff5f5084e253d31a4eb02bb5fa14786
parent47c806bafb62e086a7d862473b47fe7c827708ef (diff)
framework/tests: fix typo in attribute decorator
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--framework/tests/dmesg_tests.py6
-rw-r--r--tox.ini4
2 files changed, 5 insertions, 5 deletions
diff --git a/framework/tests/dmesg_tests.py b/framework/tests/dmesg_tests.py
index aed0d9297..7c9c6be5c 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))))
-@attr('privliged')
+@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__)))
-@attr('privliged')
+@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)
-@attr('privliged')
+@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 7aa741a5c..fe58771eb 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