def test_users(self):
        yesterday = date.today() - timedelta(days=1)
        day_before = timedelta(days=1) - yesterday
        cohort = Cohort(start_date=day_before, end_date=yesterday,
                        retention_periods=[])
        self.assertEqual(set(cohort.users), set([self.user1, self.user2]))
        cohort = Cohort(start_date=yesterday, end_date=yesterday,
                        retention_periods=[])
        self.assertEqual(set(cohort.users), set([self.user2]))
dataset/ETHPy150Open e-loue/django-lean/django_lean/lean_retention/tests/test_reports.py/TestCohort.test_users/swapped operands of `-`