Skip to content
Snippets Groups Projects
Commit be75c1e1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

statistic moths were checked for invalid year

parent 61a73e91
No related branches found
No related tags found
1 merge request!102datetime format is encoded (instead of pure ASCII characters transformed into string)
Pipeline #
......@@ -40,7 +40,7 @@ class TestStatistics(TestCase):
statistics = self.statistics_manager.get_statistics_for_month(self.now.month, self.now.year)
self.check_statistics(statistics, 0, 0, 1, {"C": [1, 1]}, ['Scheduled'])
statistics = self.statistics_manager.get_statistics_for_month(self.visit_end.month, self.now.year)
statistics = self.statistics_manager.get_statistics_for_month(self.visit_end.month, self.visit_end.year)
self.check_statistics(statistics, 0, 1, 0, {"C": [0, 0]}, ['Scheduled'])
def test_get_statistics_for_month_one_appointment_visit(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment