

@silence_is_golden
def test_parse_expiration_date(self, *args):
    self.assertEquals(self.card._parse_expiration_date(self.soup), datetime(year=1984, month=12, day=2))
    self.assertIsNone(self.card._parse_expiration_date(self.bad_soup))
    self.assertIsNone(self.card._parse_expiration_date(self.empty_soup))

dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/tests/models/test_card.py BreezeCardTestCase.test_parse_expiration_date/original