|
|
@ -40,14 +40,6 @@ def app(request):
|
|
|
|
# This is fine in the case of a failure.
|
|
|
|
# This is fine in the case of a failure.
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
@live_server.app.route('/test-endpoint')
|
|
|
|
|
|
|
|
def test_endpoint():
|
|
|
|
|
|
|
|
# Tried using a global var here but didn't seem to work, so reading from a file instead.
|
|
|
|
|
|
|
|
with open("test-datastore/output.txt", "r") as f:
|
|
|
|
|
|
|
|
return f.read()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
live_server.start()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert 1 == 1
|
|
|
|
assert 1 == 1
|
|
|
|
|
|
|
|
|
|
|
|
request.addfinalizer(teardown)
|
|
|
|
request.addfinalizer(teardown)
|
|
|
|