From 249cff7ff8e393b60fc2531ce6df29cc149695af Mon Sep 17 00:00:00 2001 From: firefoxwang <1228137800@qq.com> Date: Wed, 1 Nov 2017 20:25:40 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:Presentation=20file=EF=BC=88base.py?= =?UTF-8?q?=EF=BC=89=20multiprocessing=20problem=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/base.py b/tests/base.py index faa15ef0..aa9d1b70 100644 --- a/tests/base.py +++ b/tests/base.py @@ -6,8 +6,10 @@ import requests from ate import utils from tests import api_server + def apprun(): - _ = api_server.app.run() + api_server.app.run() + class ApiServerUnittest(unittest.TestCase): """ Test case class that sets up an HTTP server which can be used within the tests