test: remove duplicated code (#57669)

This commit is contained in:
Nicolas Roche 2021-10-11 15:45:03 +02:00
parent d82af1c290
commit 340cf3d8b0
1 changed files with 0 additions and 5 deletions

View File

@ -100,11 +100,6 @@ def get_json_file(filename):
return desc.read()
def get_json_file(filename):
with open(os.path.join(TEST_BASE_DIR, "%s.json" % filename)) as desc:
return desc.read()
@mock_response(['/v1/type-intervention', None, b'<List></List>'])
def test_empty_intervention_types(smart):
assert smart.get_intervention_types() == []