Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Aug 7, 2023
1 parent 0bbdc9b commit b334191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/apps/api/tests/viewsets/test_note_viewset.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_csv_export_form_w_notes(self):

view = XFormViewSet.as_view({"get": "retrieve"})

request = self.factory.get("/", **self.extra)
request = self.factory.get("/", data={"sort": '{"_id": -1}'}, **self.extra)
response = view(request, pk=self.xform.pk, format="csv")
self.assertTrue(response.status_code, 200)

Expand Down

0 comments on commit b334191

Please sign in to comment.