コード例 #1
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_not_2(self):
     self.assertFalse(is_json('a=b&d=3'))
コード例 #2
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_dict(self):
     self.assertTrue(is_json('{"a": "b"}'))
コード例 #3
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_not(self):
     self.assertFalse(is_json('a=b'))
コード例 #4
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_str(self):
     self.assertTrue(is_json('"a"'))
コード例 #5
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_lst(self):
     self.assertTrue(is_json('["a", "b"]'))
コード例 #6
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_not_2(self):
     self.assertFalse(is_json('a=b&d=3'))
コード例 #7
0
ファイル: test_json_mutant.py プロジェクト: intfrr/Tortazo
 def test_is_json_int(self):
     self.assertTrue(is_json('1'))
コード例 #8
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_not(self):
     self.assertFalse(is_json('a=b'))
コード例 #9
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_dict(self):
     self.assertTrue(is_json('{"a": "b"}'))
コード例 #10
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_lst(self):
     self.assertTrue(is_json('["a", "b"]'))
コード例 #11
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_str(self):
     self.assertTrue(is_json('"a"'))
コード例 #12
0
ファイル: test_json_mutant.py プロジェクト: 3rdDegree/w3af
 def test_is_json_int(self):
     self.assertTrue(is_json('1'))