1 from .fixtures import app_client, app_client_with_hash
3 def test_homepage(app_client):
4 response = app_client.get('/')
5 assert response.status == 200
6 assert 'dummy_tables' in response.text
8 def test_database_page(app_client_with_hash):
9 response = app_client_with_hash.get('/dummy_tables', allow_redirects=False)
10 assert response.status == 302
11 response = app_client_with_hash.get('/dummy_tables')
12 assert 'dummy_tables' in response.text
14 def test_table(app_client):
15 response = app_client.get('/dummy_tables/table2')
16 assert response.status == 200