Skip to content

Commit

Permalink
Added comment in test_populate_data.py for type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Nov 22, 2024
1 parent f1a37e8 commit 5314cad
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def setUp(self) -> None:
def _execute_sql_on_db(self, sql: str) -> str:
with ContextDockerClient() as docker_client:
print(f"Executing sql on db: '{sql}'")
#environment is a class variable, need to suppress type check
environment = self.environment # type: ignore
test_container = docker_client.containers.get(environment.environment_info.
test_container_info.container_name)
Expand Down

0 comments on commit 5314cad

Please sign in to comment.