Skip to content

Commit 4a584ec

Browse files
committed
Fix tests
1 parent 921ecde commit 4a584ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/tests/test_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def test_delete(self, flash, avatar, delete, user_data):
277277
user_data.return_value = "type = InfrastructureManager; token = access_token"
278278
delete.side_effect = self.delete_response
279279
self.login(avatar)
280-
res = self.client.get('/delete/infid')
280+
res = self.client.get('/delete/infid/0')
281281
self.assertEqual(302, res.status_code)
282282
self.assertIn('http://localhost/infrastructures', res.headers['location'])
283283
self.assertEquals(flash.call_args_list[0][0], ("Infrastructure 'infid' successfuly deleted.", 'info'))

0 commit comments

Comments
 (0)