File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed
Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ def setUp(self):
5555 self .authorizer = create_autospec (Authorization )
5656 self .controller = FhirController (self .authorizer , self .service )
5757
58- def tearDown (self ):
59- super ().tearDown ()
6058
6159 def test_create_response (self ):
6260 """it should return application/fhir+json with correct status code"""
Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ def setUp(self):
4646 self .table = MagicMock ()
4747 self .repository = ImmunizationRepository (table = self .table )
4848
49- def tearDown (self ):
50- super ().tearDown ()
51-
5249 def test_get_immunization_by_identifier (self ):
5350 """it should find an Immunization by id"""
5451 imms_id = "a-id#an-id"
@@ -174,10 +171,6 @@ def setUp(self):
174171 self .repository = ImmunizationRepository (table = self .table )
175172 self .patient = {"id" : "a-patient-id" , "identifier" : {"value" : "an-identifier" }}
176173
177- def tearDown (self ):
178- patch .stopall ()
179- super ().tearDown ()
180-
181174 def test_create_immunization (self ):
182175 """it should create Immunization, and return created object"""
183176
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ def tearDown(self):
4242 self .logger_info_patcher .stop ()
4343 super ().tearDown ()
4444
45-
4645class TestServiceUrl (unittest .TestCase ):
4746 def test_get_service_url (self ):
4847 """it should create service url"""
@@ -66,7 +65,6 @@ def test_get_service_url(self):
6665 url = get_service_url (env , base_path )
6766 self .assertEqual (url , f"https://internal-dev.api.service.nhs.uk/{ base_path } " )
6867
69-
7068class TestGetImmunizationByAll (TestFhirServiceBase ):
7169 """Tests for FhirService.get_immunization_by_id"""
7270
@@ -358,10 +356,6 @@ def setUp(self):
358356 ImmunizationValidator (add_post_validators = False ),
359357 )
360358
361- def tearDown (self ):
362- patch .stopall ()
363- super ().tearDown ()
364-
365359 def test_create_immunization (self ):
366360 """it should create Immunization and validate it"""
367361 imms_id = "an-id"
You can’t perform that action at this time.
0 commit comments