Merge "Bug Fix: Start openvswitch service in Centos distro"
[yardstick.git] / yardstick / tests / unit / network_services / collector / test_subscriber.py
index 9b96499..a344f5c 100644 (file)
@@ -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())