Skip to content

Commit

Permalink
Merge pull request #220 from grycap/devel
Browse files Browse the repository at this point in the history
Minor changes
  • Loading branch information
micafer authored Sep 17, 2021
2 parents 126623b + ec0bff1 commit 1a092de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def test_managevm_delet(self, flash, avatar, delete, user_data):
res = self.client.post('/managevm/terminate/infid/0')
self.assertEqual(302, res.status_code)
self.assertIn('http://localhost/infrastructures', res.headers['location'])
self.assertEquals(flash.call_args_list[0][0], ("Operation 'terminate' successfully made on VM ID: 0", 'success'))
self.assertEquals(flash.call_args_list[0][0], ("Operation 'terminate' successfully made on VM ID: 0",
'success'))

@patch("app.utils.getUserAuthData")
@patch('requests.put')
Expand Down

0 comments on commit 1a092de

Please sign in to comment.