|
@@ -22,18 +22,6 @@ class TestIdCardAddress(unittest.TestCase):
|
|
|
r = send_request(image_path, 0)
|
|
|
self.assertEqual(r['status'], '000', f'{image_path}status case error')
|
|
|
|
|
|
- def test_04(self):
|
|
|
- image_path = '../images/false/others/04.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
- def test_05_90(self):
|
|
|
- image_path = '../images/false/others/05-90.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
- def test_05_180(self):
|
|
|
- image_path = '../images/false/others/05-180.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
# 难
|
|
|
def test_06(self):
|
|
|
image_path = '../images/false/others/06.jpg'
|
|
@@ -44,22 +32,6 @@ class TestIdCardAddress(unittest.TestCase):
|
|
|
image_path = '../images/false/others/07.jpg'
|
|
|
self._helper(image_path)
|
|
|
|
|
|
- def test_08(self):
|
|
|
- image_path = '../images/false/others/08.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
- def test_09(self):
|
|
|
- image_path = '../images/false/others/09.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
- def test_10(self):
|
|
|
- image_path = '../images/false/others/10.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
- def test_11(self):
|
|
|
- image_path = '../images/false/others/11.jpg'
|
|
|
- self._helper(image_path)
|
|
|
-
|
|
|
# 北京市宣武区cpca错误
|
|
|
def test_cpca(self):
|
|
|
image_path = '../images/false/others/cpca.png'
|