Commit 22138b59 authored by Zuul's avatar Zuul Committed by Gerrit Code Review

Merge "Move binary and notification tests in unit"

parents a1eacada 6aac2613
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment