removed duplicate code

This commit is contained in:
mike cullerton 2022-11-11 08:17:50 -05:00
parent 3cf379e18b
commit 6a45604fa3
1 changed files with 0 additions and 16 deletions

View File

@ -329,22 +329,6 @@ class BaseTest:
)
return user
def get_test_data_file_contents(
self, file_name: str, process_model_test_data_dir: str
) -> bytes:
"""Get_test_data_file_contents."""
file_full_path = os.path.join(
current_app.instance_path,
"..",
"..",
"tests",
"data",
process_model_test_data_dir,
file_name,
)
with open(file_full_path, "rb") as file:
return file.read()
def assert_user_has_permission(
self,
user: UserModel,