diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-28 16:34:21 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-28 16:34:21 -0700 |
| commit | bbc00d9eca3b874e240e50bfa9f397afc36d0bee (patch) | |
| tree | f70f6e58a51fa885471f6f6a31a03aa0289a8d63 | |
| parent | b68b73d08155483d19f4088baa6a4ffe73ef5f1d (diff) | |
| download | nova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.tar.gz nova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.tar.xz nova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.zip | |
removed extra code that slipped in from a test branch
| -rw-r--r-- | nova/tests/rpc_unittest.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/nova/tests/rpc_unittest.py b/nova/tests/rpc_unittest.py index f4d7b4b28..e12a28fbc 100644 --- a/nova/tests/rpc_unittest.py +++ b/nova/tests/rpc_unittest.py @@ -67,17 +67,6 @@ class RpcTestCase(test.BaseTestCase): except rpc.RemoteError as exc: self.assertEqual(int(exc.value), value) - def test_pass_object(self): - """Test that we can pass objects through rpc""" - class x(): - pass - obj = x() - x.foo = 'bar' - x.baz = 100 - - result = yield rpc.call('test', {"method": "echo", - "args": {"value": obj}}) - print result class TestReceiver(object): """Simple Proxy class so the consumer has methods to call |
