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