Merge "Move binary and notification tests in unit"
This commit is contained in:
commit
22138b5988
@ -167,6 +167,5 @@ class BinCeilometerPollingServiceTestCase(base.BaseTestCase):
|
|||||||
["ceilometer-polling", "--config-file=%s" % self.tempfile],
|
["ceilometer-polling", "--config-file=%s" % self.tempfile],
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
__, err = self.subp.communicate()
|
__, err = self.subp.communicate()
|
||||||
expected = ("Exception: Valid values are ['compute', 'central', "
|
self.assertIn(b"Exception: Valid values are ['compute', 'central', "
|
||||||
"'ipmi'], but found [\"['central']\"]")
|
b"'ipmi'], but found [\"['central']\"]", err)
|
||||||
self.assertIn(expected, err)
|
|
Loading…
Reference in New Issue
Block a user