Commit a33690c2 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Remove testJsonIndent unittest



It can't work on older distributions where simplejson
doesn't have indentation support.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 8e671b7c
......@@ -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
......
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