--- unittests/framework/test/test_gleantest.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/unittests/framework/test/test_gleantest.py b/unittests/framework/test/test_gleantest.py index b9122d2..3ff2b8c 100644 --- a/unittests/framework/test/test_gleantest.py +++ b/unittests/framework/test/test_gleantest.py @@ -46,20 +46,21 @@ def test_GLOBAL_PARAMS_assignment(): If this test passes the GleanTest.command attributes will be the same in the instance created before the GLOBAL_PARAMS assignment and the one created after. A failure means the that GLOBAL_PARAMS are not being added to tests initialized before it is set. """ test1 = GleanTest('basic') GleanTest.GLOBAL_PARAMS = ['--quick'] test2 = GleanTest('basic') assert test1.command == test2.command + assert '--quick' in test1.command def test_global_params_setter(): """Values from self.GLOBAL_ARGS are not pushed into self._command by a setter. """ test = GleanTest('basic') GleanTest.GLOBAL_PARAMS = ['--quick'] test.command += '-foo' assert '--quick' not in test._command -- 2.9.4 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit