Prechádzať zdrojové kódy

update test_interface

zeke-chin 2 rokov pred
rodič
commit
3ffc9f5615
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  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):