summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-08-25 11:13:08 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-08-25 11:22:04 +0100
commit4aad882bcec0a476adbbeab47dee4833c3e053a3 (patch)
tree591597f7a3f19a5543ce83c2519932792d4c5e7a /tests
parent7ee4434e8049c170f9ee9766bd9b26913fc6e0cd (diff)
Include CM name when protocol doesn't exist
This is not really ideal—the real error is that the CM doesn't exist but due to the current design of this part of MC, it's actually not easy to determine that. So at least including the name of the CM might make the error more obvious.
Diffstat (limited to 'tests')
-rw-r--r--tests/twisted/account-manager/bad-cm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/account-manager/bad-cm.py b/tests/twisted/account-manager/bad-cm.py
index b00b9138..71ca2433 100644
--- a/tests/twisted/account-manager/bad-cm.py
+++ b/tests/twisted/account-manager/bad-cm.py
@@ -43,7 +43,7 @@ def test(q, bus, mc):
)
e = q.expect('dbus-error', method='CreateAccount')
assertEquals(cs.NOT_IMPLEMENTED, e.name)
- #assertContains("nonexistent_cm", e.message)
+ assertContains("nonexistent_cm", e.message)
# Create an account with a bad Protocol - it should fail