Example #1
0
 def test_normal(self):
     self.failUnless(
         jsonops.object_keys({
             "1": "a",
             "2": "b"
         }) == jsonops.pprint(["1", "2"]))
Example #2
0
 def test_normal(self):
     self.failUnless(
         jsonops.object_keys({"1": "a", "2": "b"})
         == jsonops.pprint(["1", "2"]))
Example #3
0
 def test_empty(self):
     self.failUnless(jsonops.object_keys({}) == jsonops.pprint([]))
Example #4
0
 def test_empty(self):
     self.failUnless(jsonops.object_keys({}) == jsonops.pprint([]))