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
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