Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky tests #4348

Merged
merged 23 commits into from
Nov 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
delete maxDiff
submarcos committed Nov 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 9afbaf9fbdf36e94e4edcf35970d67fd044cf3e2
2 changes: 0 additions & 2 deletions geotrek/cirkwi/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -42,7 +42,6 @@ def setUp(self):
self.poi.save()

def test_export_circuits(self):
self.maxDiff = None
response = self.client.get('/api/cirkwi/circuits.xml')
self.assertEqual(response.status_code, 200)
attrs = {
@@ -155,7 +154,6 @@ def test_export_pois_with_attachments(self):
)

def test_export_circuits_with_attachments(self):
self.maxDiff = None
attachment = AttachmentFactory.create(content_object=self.trek, attachment_file=get_dummy_uploaded_image())
self.poi.delete()
response = self.client.get('/api/cirkwi/circuits.xml')