Fakultas Ilmu Komputer UI

Commit a0c00ef7 authored by Dave Nathanael's avatar Dave Nathanael
Browse files

[RED] Add test for age filter with range

parent 545a8ead
......@@ -208,7 +208,7 @@ class ExportableViewTest(APITestCase):
self.assertEqual(len(body), 2)
def test_export_investigation_data_to_csv_filter_age(self):
body = self.export_csv_test_util("?age=21")
body = self.export_csv_test_util("?min_age=21&max_age=21")
self.assertEqual(len(body), 2)
def test_export_investigation_data_to_csv_filter_district(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment