コード例 #1
0
ファイル: jsonops_tests.py プロジェクト: GreyCat/json4shell
 def test_normal(self):
     self.failUnless(
         jsonops.object_values({
             "1": "a",
             "2": "b"
         }) == jsonops.pprint(["a", "b"]))
コード例 #2
0
ファイル: jsonops_tests.py プロジェクト: GreyCat/json4shell
 def test_normal(self):
     self.failUnless(
         jsonops.object_values({"1": "a", "2": "b"})
         == jsonops.pprint(["a", "b"]))
コード例 #3
0
ファイル: jsonops_tests.py プロジェクト: GreyCat/json4shell
 def test_empty(self):
     self.failUnless(jsonops.object_values({}) == jsonops.pprint([]))
コード例 #4
0
ファイル: jsonops_tests.py プロジェクト: GreyCat/json4shell
 def test_empty(self):
     self.failUnless(jsonops.object_values({}) == jsonops.pprint([]))