diff options
author | Chornyi, TarasX <tarasx.chornyi@intel.com> | 2018-04-04 11:26:09 +0300 |
---|---|---|
committer | Chornyi, TarasX <tarasx.chornyi@intel.com> | 2018-05-03 15:24:28 +0300 |
commit | d38bd854fb2c3eb6c0c4dd34ace2a52af7cf892d (patch) | |
tree | 77ec0445f18353c5296e38c0f445f5c5be0ba6b7 /yardstick/tests | |
parent | e985b356b75c9f4169ab8f1cd761cc3cfd13f6d1 (diff) |
MQ startup process refactor
YARDSTICK-1112
Change-Id: Id30236e190bae9fb0f5b5ebd4c5e04798e4fd443
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
Diffstat (limited to 'yardstick/tests')
-rw-r--r-- | yardstick/tests/unit/network_services/collector/test_subscriber.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/tests/unit/network_services/collector/test_subscriber.py b/yardstick/tests/unit/network_services/collector/test_subscriber.py index 9b9649979..a344f5c85 100644 --- a/yardstick/tests/unit/network_services/collector/test_subscriber.py +++ b/yardstick/tests/unit/network_services/collector/test_subscriber.py @@ -78,7 +78,8 @@ class CollectorTestCase(unittest.TestCase): pass def test_start(self, *_): - self.assertIsNone(self.collector.start()) + with self.assertRaises(Exception): + self.collector.start() def test_stop(self, *_): self.assertIsNone(self.collector.stop()) |