diff --git a/lib/rpc.py b/lib/rpc.py index fd1f45ff3d415e1f490806786614e96d302f9041..dac6f3899307dc0c86bd811e7c7cb2da7abacfe7 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -91,7 +91,7 @@ class NodeController: reactor.stop() def cb_call(self, obj): - """Callback for successfull connect. + """Callback for successful connect. If the connect and login sequence succeeded, we proceed with making the actual call. diff --git a/testing/ganeti.utils_unittest.py b/testing/ganeti.utils_unittest.py index 947697d04d25510470c81a049f39019243081d1a..033bdbe79dc039ef5d667e6c9a5a4609442f9574 100755 --- a/testing/ganeti.utils_unittest.py +++ b/testing/ganeti.utils_unittest.py @@ -101,7 +101,7 @@ class TestRunCmd(unittest.TestCase): self.magic = time.ctime() + " ganeti test" def testOk(self): - """Test successfull exit code""" + """Test successful exit code""" result = RunCmd("/bin/sh -c 'exit 0'") self.assertEqual(result.exit_code, 0)