Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Mar 24, 2018
1 parent 42a2e5d commit 54adc8a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/test_base.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 54adc8a

Please sign in to comment.