diff --git a/compair/tests/api/test_plan_release_date.py b/compair/tests/api/test_plan_release_date.py new file mode 100644 index 00000000..509759aa --- /dev/null +++ b/compair/tests/api/test_plan_release_date.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from compair.tests.test_compair import ComPAIRAPITestCase + +class PlanReleaseDateAPITests(ComPAIRAPITestCase): + def setUp(self): + super(PlanReleaseDateAPITests, self).setUp() + + def test_assignment_enddate(self): + url = '/app/#/assignment/search/enddate' + with self.login('root'): + # test default entry + rv = self.client.get(url) + self.assert200(rv) + + # test data retrieve is correct + rv = self.client.get(url+'?compare_end=2021-01-05') + self.assert200(rv) + +