Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed May 16, 2024
1 parent 18edb2c commit eafd254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion onadata/apps/api/tests/viewsets/test_data_viewset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3836,6 +3836,7 @@ def test_csv_export(self):
"transport/loop_over_transport_types_frequency/lorry/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/motorbike/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/taxi/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/other/frequency_to_referral_facility",
"image1",
"meta/instanceID",
"_id",
Expand Down Expand Up @@ -3891,6 +3892,7 @@ def test_default_ordering(self):
"transport/loop_over_transport_types_frequency/lorry/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/motorbike/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/taxi/frequency_to_referral_facility",
"transport/loop_over_transport_types_frequency/other/frequency_to_referral_facility",
"image1",
"meta/instanceID",
"_id",
Expand All @@ -3910,4 +3912,4 @@ def test_default_ordering(self):
# csv records should be ordered by id in descending order
for instance in instances:
row = next(csv_reader)
self.assertEqual(str(instance.id), row[22])
self.assertEqual(str(instance.id), row[23])

0 comments on commit eafd254

Please sign in to comment.