From: Alfredo Deza Date: Fri, 4 Oct 2013 17:01:37 +0000 (-0400) Subject: fix a broken py3 test X-Git-Tag: 0.0.4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c29dfb3bc4d57ce18dae51a4bc32f16a88b33bb6;p=remoto.git fix a broken py3 test --- diff --git a/remoto/tests/test_connection.py b/remoto/tests/test_connection.py index 45546ff..385a1b4 100644 --- a/remoto/tests/test_connection.py +++ b/remoto/tests/test_connection.py @@ -54,4 +54,4 @@ class TestModuleExecuteGetAttr(object): def test_raise_attribute_error(self): with raises(AttributeError) as err: self.remote_module.foo() - assert err.value[0] == 'module None does not have attribute foo' + assert err.value.args[0] == 'module None does not have attribute foo'