Revision 31ee599c
b/lib/rpc.py | ||
---|---|---|
91 | 91 |
reactor.stop() |
92 | 92 |
|
93 | 93 |
def cb_call(self, obj): |
94 |
"""Callback for successfull connect.
|
|
94 |
"""Callback for successful connect. |
|
95 | 95 |
|
96 | 96 |
If the connect and login sequence succeeded, we proceed with |
97 | 97 |
making the actual call. |
b/testing/ganeti.utils_unittest.py | ||
---|---|---|
101 | 101 |
self.magic = time.ctime() + " ganeti test" |
102 | 102 |
|
103 | 103 |
def testOk(self): |
104 |
"""Test successfull exit code"""
|
|
104 |
"""Test successful exit code""" |
|
105 | 105 |
result = RunCmd("/bin/sh -c 'exit 0'") |
106 | 106 |
self.assertEqual(result.exit_code, 0) |
107 | 107 |
|
Also available in: Unified diff