Commit c5c374c2 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

testing life domain filtering and valid input

parent 2c85d3a0
......@@ -1268,6 +1268,24 @@ class DownloadWholeDataTestCase(DownloadXXXDataTestCase):
filename="test_without_infection_ratio.csv",
)
def test_life_domain(self):
self.actual_test(
user=self.user,
allow_overflow=True,
filename="test_without_infection_ratio.csv",
life_domain="bacteria",
)
def test_fails(self):
self.assertRaises(
Exception,
self.actual_test,
user=self.user,
allow_overflow=True,
filename="test_without_infection_ratio.csv",
life_domain="bacteriaAAAA",
)
class ResponseUpdateTestCase(ViewTestCase):
......
Markdown is supported
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