diff options
Diffstat (limited to 'deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py')
-rw-r--r-- | deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py b/deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py index 76e5402686..7867b747d7 100644 --- a/deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py +++ b/deps/rabbitmq_stomp/test/python_SUITE_data/src/destinations.py @@ -37,9 +37,7 @@ class TestExchange(base.BaseTest): self.assertListener("Expecting an error", numErrs=1) err = self.listener.errors[0] self.assertEquals("not_found", err['headers']['message']) - self.assertEquals( - "NOT_FOUND - no exchange 'does.not.exist' in vhost '/'\n", - err['message']) + self.assertRegex(err['message'], r'^NOT_FOUND') time.sleep(1) self.assertFalse(self.conn.is_connected()) |