Skip to content

Commit

Permalink
[CircleCI] Fix tests
Browse files Browse the repository at this point in the history
(cherry picked from commit 49e08f5)
  • Loading branch information
afabiani committed Dec 1, 2021
1 parent e5c36e8 commit 4df4f57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geonode/services/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,7 @@ def test_add_duplicate_remote_service_url(self):
# Try adding the same URL again
form = forms.CreateServiceForm(form_data)
self.assertEqual(Service.objects.count(), 1)
with self.assertRaises(IntegrityError):
self.client.post(reverse('register_service'), data=form_data)
self.client.post(reverse('register_service'), data=form_data)
self.assertEqual(Service.objects.count(), 1)


Expand Down

0 comments on commit 4df4f57

Please sign in to comment.