Skip to content

Commit

Permalink
#131 Added a comment for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Sep 3, 2024
1 parent 0ff1fd3 commit 9677ec2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/test_itde_manager_in_docker_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ def run_test():
env_info, cleanup_func = api.spawn_test_environment(environment_name="TestDemoDb")
try:
with patch('exasol_integration_test_docker_environment.lib.api.spawn_test_environment'):
# We have effectively disabled the spawn_test_environment(). The bring_itde_up()
# should use the provided instance of the DockerDB. If it tries to create a new
# one this will fail since a spawn_test_environment() mock will be called instead.
# The mock will not return a valid EnvironmentInfo object.
bring_itde_up(secrets, env_info)
with open_pyexasol_connection(secrets) as conn:
result = conn.execute("select 1").fetchval()
Expand Down

0 comments on commit 9677ec2

Please sign in to comment.