From 4aad882bcec0a476adbbeab47dee4833c3e053a3 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 25 Aug 2011 11:13:08 +0100 Subject: Include CM name when protocol doesn't exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/twisted/account-manager/bad-cm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3