summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-09-29 02:10:17 +0000
committerTarmac <>2010-09-29 02:10:17 +0000
commit493047c2e475ff2c5d071e412d502081bd024078 (patch)
treeb90495b73b74f874a30d906d0b962c77ac1bc277
parent8c51e9623bfabad6a9b2f50e6860db6b3ce850d0 (diff)
parentbbc00d9eca3b874e240e50bfa9f397afc36d0bee (diff)
downloadnova-493047c2e475ff2c5d071e412d502081bd024078.tar.gz
nova-493047c2e475ff2c5d071e412d502081bd024078.tar.xz
nova-493047c2e475ff2c5d071e412d502081bd024078.zip
Adds bpython support to nova-manage shell, because it is super sexy.
-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