Commit 2f96c43c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

test/*.py: Replace '' with ""



There might be more, but at least replace all these low-hanging fruits.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 109e07c2
......@@ -228,5 +228,5 @@ class TestIP6Client(unittest.TestCase, _BaseClientTest):
_BaseClientTest.setUp(self)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -407,5 +407,5 @@ class TestCheckInstanceDiskIvNames(unittest.TestCase):
self.assertEqual(config._CheckInstanceDiskIvNames(disks), [])
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -495,5 +495,5 @@ class TestHooksRunnerEnv(unittest.TestCase):
assert isinstance(self.lu, FakeNoHooksLU), "LU was replaced"
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -747,5 +747,5 @@ class TestProcessRequests(unittest.TestCase):
_curl_multi=NotImplemented, _curl_process=NotImplemented)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -2404,5 +2404,5 @@ class TestLockMonitor(_ThreadedTestCase):
self.assertEqual(i.CountPending(), 0)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -348,5 +348,5 @@ class TestNode(unittest.TestCase):
self.assertEqual(node2.disk_state[constants.LD_LV]["lv32352"].total, 128)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -1367,5 +1367,5 @@ class RapiTestRunner(unittest.TextTestRunner):
return result
if __name__ == '__main__':
if __name__ == "__main__":
client.UsesRapiClient(testutils.GanetiTestProgram)(testRunner=RapiTestRunner)
......@@ -69,5 +69,5 @@ class MapperTests(unittest.TestCase):
self._TestFailingUri("/instances/does/not/exist")
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -1753,5 +1753,5 @@ class TestInstancesMultiAlloc(unittest.TestCase):
for inst in body["instances"]]))
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -106,5 +106,5 @@ class TestSerializer(testutils.GanetiTestCase):
serializer.DumpJson(tdata), "mykey")
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -118,5 +118,5 @@ class TestUidPool(testutils.GanetiTestCase):
self.assertEqualValues(uid.GetUid(), -1)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -369,5 +369,5 @@ class TestVerifyDictOptions(unittest.TestCase):
some_keys, self.defaults)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
......@@ -516,5 +516,5 @@ class TestWorkerpool(unittest.TestCase):
self._CheckWorkerCount(wp, 0)
if __name__ == '__main__':
if __name__ == "__main__":
testutils.GanetiTestProgram()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment