Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jul 7, 2020
1 parent 921ecde commit 4a584ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def test_delete(self, flash, avatar, delete, user_data):
user_data.return_value = "type = InfrastructureManager; token = access_token"
delete.side_effect = self.delete_response
self.login(avatar)
res = self.client.get('/delete/infid')
res = self.client.get('/delete/infid/0')
self.assertEqual(302, res.status_code)
self.assertIn('http://localhost/infrastructures', res.headers['location'])
self.assertEquals(flash.call_args_list[0][0], ("Infrastructure 'infid' successfuly deleted.", 'info'))
Expand Down

0 comments on commit 4a584ec

Please sign in to comment.