Skip to content

Commit

Permalink
Fix unit test skip condition
Browse files Browse the repository at this point in the history
  • Loading branch information
justinefricou committed Oct 21, 2024
1 parent 91bf9be commit 5e75529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/maintenance/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_end_date_after_start_date(self):
self.assertFalse(form.is_valid())
self.assertIn("Begin date is after end date", str(form.errors))

@skipIf(settings.TREKKING_TOPOLOGY_ENABLED, 'Test without dynamic segmentation only')
@skipIf(not settings.TREKKING_TOPOLOGY_ENABLED, 'Test with dynamic segmentation only')
@override_settings(SURICATE_WORKFLOW_ENABLED=True)
def test_create_intervention_if_target_is_not_report(self):
form = InterventionForm(
Expand Down

0 comments on commit 5e75529

Please sign in to comment.