diff options
author | Andres Gomez <agomez@igalia.com> | 2018-07-20 01:39:05 +0300 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2018-07-20 10:22:35 +0300 |
commit | f363ec73caf54d7c4daf7a03bc1066e7f79a8fe3 (patch) | |
tree | 85d48ba2f3461abe3c77c0bef2e87c5fa30b9eca /unittests | |
parent | ebf56c15d788330b37633532a76aa8ac0d142d07 (diff) |
framework: deepcopy TestProfile's filters when copying it
This avoids modifications in the original filters object.
Detected through Travis CI.
Fixed also a couple of typos.
Fixes: 1f0f2ad25 ("framework: Add filters class")
Cc: Dylan Baker <dylanx.c.baker@intel.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/framework/summary/test_feature.py | 2 | ||||
-rw-r--r-- | unittests/framework/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unittests/framework/summary/test_feature.py b/unittests/framework/summary/test_feature.py index fc05941b6..905484991 100644 --- a/unittests/framework/summary/test_feature.py +++ b/unittests/framework/summary/test_feature.py @@ -77,7 +77,7 @@ PROFILE.test_list['spec@gl-2.0@d'] = _maketest('fail') class TestFeatResult(object): - """Tests fro the FeatResult class.""" + """Tests for the FeatResult class.""" @pytest.fixture(scope='session') def feature(self, tmpdir_factory): diff --git a/unittests/framework/utils.py b/unittests/framework/utils.py index bb3a19146..15117f97d 100644 --- a/unittests/framework/utils.py +++ b/unittests/framework/utils.py @@ -32,7 +32,7 @@ from framework.test.base import Test as _Test class Test(_Test): - """A Test dericed class with a stub interpret_result. + """A Test derived class with a stub interpret_result. This class provides a way to test the Test class. """ |