瀏覽代碼

update test_interface

zeke-chin 2 年之前
父節點
當前提交
3ffc9f5615
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      TestAllOcr/test_interface.py

+ 3 - 2
TestAllOcr/test_interface.py

@@ -7,8 +7,9 @@ from config import send_request
 image_path = 'image'
 
 # test, sb ,idc
-url = config.URL['idc']
-token = config.TOKEN['idc']
+name = 'sb'
+url = config.URL[name]
+token = config.TOKEN[name]
 
 class TestOcr(unittest.TestCase):