コード例 #1
0
 def test_setup(self):
     self.variables = Variables()
     self.storages = Parameter.expand(self.variables['storage'])
     pytest.storage = self.storages[0]
     command = ['python', 'server.py']
     pytest.openapi = run(command)
     pytest.openapi.execute()
     print(pytest.openapi.pid)
     time.sleep(5)
コード例 #2
0
 def test_setup(self):
     command = ['python', 'server.py']
     self.openapi = run(command).execute()
     time.sleep(5)