update tests for Flask

This commit is contained in:
dandds
2018-08-02 13:49:39 -04:00
committed by richard-dds
parent 7377dd1f3f
commit 192aff4ea3
31 changed files with 466 additions and 479 deletions

View File

@@ -1,7 +1,3 @@
import pytest
@pytest.mark.gen_test
def test_hello_world(http_client, base_url):
response = yield http_client.fetch(base_url)
assert response.code == 200
def test_hello_world(client):
response = client.get("/")
assert response.status_code == 200