Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/scriptform/commit/7733eef9fd03f70ee3a1830796a14821ee20d159?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Properly wait for server shutdown in test harness teardown.

pull/7/head
Ferry Boender 10 years ago
parent 1050b36181
commit 7733eef9fd
  1. 4
      test/test.py

@ -232,6 +232,10 @@ class WebAppTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
cls.sf.shutdown()
while True:
time.sleep(0.1)
if not cls.sf.running:
break
def testError404(self):
r = requests.get('http://localhost:8002/nosuchurl')

Loading…
Cancel
Save