|
@@ -2339,6 +2339,16 @@ class SocketSrvTest(unittest.TestCase):
|
|
|
self.assertEqual({}, self.__b10_init._unix_sockets)
|
|
|
self.assertTrue(sock.closed)
|
|
|
|
|
|
+ def test_log_starting(self):
|
|
|
+ """
|
|
|
+ Checks the log_starting call doesn't raise any errors
|
|
|
+ (does not check actual log output)
|
|
|
+ """
|
|
|
+ self.__b10_init.log_starting("foo")
|
|
|
+ self.__b10_init.log_starting("foo", 1)
|
|
|
+ self.__b10_init.log_starting("foo", 1, "192.0.2.1")
|
|
|
+
|
|
|
+
|
|
|
class TestFunctions(unittest.TestCase):
|
|
|
def setUp(self):
|
|
|
self.lockfile_testpath = \
|