diff --git a/tests/test_base.py b/tests/test_base.py index f151a9b..44a88cd 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -1,5 +1,13 @@ -from models import City - - def test_pytsp(client): - pass + assert client.get('/').status_code == 200 + for algorithm in ( + 'nearest_neighbor', + 'nearest_insertion', + 'farthest_insertion', + 'cheapest_insertion', + 'pairwise_exchange', + 'node_insertion', + 'edge_insertion', + 'ILP_solver' + ): + client.post('/' + algorithm)