Beispiel #1
0
 def test_immunity_on_time_measles_vaccinations_raising_value_error(
         self, args):
     with pytest.raises(ValueError):
         immunity(**args)
Beispiel #2
0
 def test_immunity_post_1957(self, args, kwargs, returned_dict):
     assert immunity(*args, **kwargs) == returned_dict
Beispiel #3
0
 def test_immunity_birth_year_raising_error(self, args):
     with pytest.raises(ValueError):
         immunity(**args)
Beispiel #4
0
 def test_immunity_had_measles(self, args, kwargs, returned_dict):
     assert immunity(*args, **kwargs) == returned_dict