import os import time import pytest import uuid from app import app, queueStatus, shutdown, wholeStat @pytest.fixture def client(): app.config['TESTING'] = True with app.test_client() as client: #with app.app_context(): # app.init_db() yield client #shutdown() def test_homepage(client): """Test that the homepage can be generated""" rv = client.get('/') # assert all the controls are there assert b'