def test_days_count(self):
        today = date.today()
        self.extension.set_value(today)
        self.assertEqual(self.extension.get_days_count(), 0)
        self.extension.set_value(today + timedelta(days=5))
        self.assertEqual(self.extension.get_days_count(), -5)
        self.extension.set_value(today - timedelta(days=5))
        self.assertEqual(self.extension.get_days_count(), 5)
dataset/ETHPy150Open Net-ng/kansha/kansha/card_addons/due_date/tests.py/CardDueDateTest.test_days_count/original