From a33690c241a4d9cbb6a9c291aabd0f0691a9bbe6 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Wed, 25 Nov 2009 15:24:57 +0100 Subject: [PATCH] Remove testJsonIndent unittest It can't work on older distributions where simplejson doesn't have indentation support. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- test/ganeti.serializer_unittest.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/ganeti.serializer_unittest.py b/test/ganeti.serializer_unittest.py index 62d3b4672..11a60e653 100755 --- a/test/ganeti.serializer_unittest.py +++ b/test/ganeti.serializer_unittest.py @@ -63,14 +63,6 @@ class TestSerializer(testutils.GanetiTestCase): def testJson(self): self._TestSerializer(serializer.DumpJson, serializer.LoadJson) - def testJsonIndent(self): - data = { - "k1": 1, - "k2": 3, - "k3": 4, - } - self.assert_(len(serializer.DumpJson(data, indent=True).splitlines()) > 3) - def testSignedMessage(self): LoadSigned = serializer.LoadSigned DumpSigned = serializer.DumpSigned -- GitLab