Exemplo n.º 1
0
 def test_bad_date_setter_after_init(self, bad_date):
     daily_filing = DailyFilings(date=date(2020, 1, 1))
     with pytest.raises(TypeError):
         daily_filing.date = bad_date
Exemplo n.º 2
0
 def test_bad_date_setter_after_init(self, bad_date, mock_user_agent):
     daily_filing = DailyFilings(date=date(2020, 1, 1),
                                 user_agent=mock_user_agent)
     with pytest.raises(TypeError):
         daily_filing.date = bad_date