summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-09-28 16:34:21 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-09-28 16:34:21 -0700
commitbbc00d9eca3b874e240e50bfa9f397afc36d0bee (patch)
treef70f6e58a51fa885471f6f6a31a03aa0289a8d63 /nova
parentb68b73d08155483d19f4088baa6a4ffe73ef5f1d (diff)
downloadnova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.tar.gz
nova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.tar.xz
nova-bbc00d9eca3b874e240e50bfa9f397afc36d0bee.zip
removed extra code that slipped in from a test branch
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/rpc_unittest.py11
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