Move binary and notification tests in unit
Those tests are nothing to do with the functional testing done with storage drivers. They can be done at unit test time. Change-Id: Id176175fbbe814bb03ae9e9ca6ac6a7e1149c290
This commit is contained in:
parent
d881dd5228
commit
6aac2613c4
@ -167,6 +167,5 @@ class BinCeilometerPollingServiceTestCase(base.BaseTestCase):
|
||||
["ceilometer-polling", "--config-file=%s" % self.tempfile],
|
||||
stderr=subprocess.PIPE)
|
||||
__, err = self.subp.communicate()
|
||||
expected = ("Exception: Valid values are ['compute', 'central', "
|
||||
"'ipmi'], but found [\"['central']\"]")
|
||||
self.assertIn(expected, err)
|
||||
self.assertIn(b"Exception: Valid values are ['compute', 'central', "
|
||||
b"'ipmi'], but found [\"['central']\"]", err)
|
Loading…
Reference in New Issue
Block a user