diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-05 15:32:58 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-05 15:36:11 +0200 |
commit | 7c79dd75b519ac22483de76b4433a9923da68ef6 (patch) | |
tree | 7160fb4e99a12bdc051c3d72c272e34193d1000c /functest/tests/unit/features/test_barometer.py | |
parent | 2bd6e7d12040659b5be66d6d9a0df55838446379 (diff) |
Add case_name as args in all features
Now run_tests.py forces case_name as arg of every TestCase or Feature.
It also updates the related unit tests.
Change-Id: I4d70005b53730f36785f0ac95f4f0f6a04455794
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/features/test_barometer.py')
-rw-r--r-- | functest/tests/unit/features/test_barometer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/tests/unit/features/test_barometer.py b/functest/tests/unit/features/test_barometer.py index 6c68019d..62f2e0d6 100644 --- a/functest/tests/unit/features/test_barometer.py +++ b/functest/tests/unit/features/test_barometer.py @@ -27,7 +27,8 @@ class BarometerTesting(unittest.TestCase): logging.disable(logging.CRITICAL) def setUp(self): - self.barometer = barometer.BarometerCollectd() + self.barometer = barometer.BarometerCollectd( + case_name="barometercollectd") def test_init(self): self.assertEqual(self.barometer.project_name, "barometer") |