diff --git a/test/unit/deployment/test_language_container_deployer.py b/test/unit/deployment/test_language_container_deployer.py index 099dd69..4973ad8 100644 --- a/test/unit/deployment/test_language_container_deployer.py +++ b/test/unit/deployment/test_language_container_deployer.py @@ -49,7 +49,8 @@ def test_slc_deployer_deploy(container_deployer, container_file_name, container_ container_deployer.run(container_file=container_file_path, bucket_file_path=container_file_name, alter_system=True, - allow_override=True) + allow_override=True, + wait_for_completion=False) container_deployer.upload_container.assert_called_once_with(container_file_path, container_file_name) container_deployer.activate_container.assert_called_once_with(container_file_name, @@ -58,14 +59,21 @@ def test_slc_deployer_deploy(container_deployer, container_file_name, container_ def test_slc_deployer_upload(container_deployer, container_file_name, container_file_path): - container_deployer.run(container_file=container_file_path, alter_system=False) + container_deployer.run(container_file=container_file_path, + alter_system=False, + wait_for_completion=False) container_deployer.upload_container.assert_called_once_with(container_file_path, container_file_name) - container_deployer.activate_container.assert_not_called() + container_deployer.activate_container.assert_called_once_with(container_file_name, + LanguageActivationLevel.Session, + False) def test_slc_deployer_activate(container_deployer, container_file_name): - container_deployer.run(bucket_file_path=container_file_name, alter_system=True, allow_override=True) + container_deployer.run(bucket_file_path=container_file_name, + alter_system=True, + allow_override=True, + wait_for_completion=False) container_deployer.upload_container.assert_not_called() container_deployer.activate_container.assert_called_once_with(container_file_name, LanguageActivationLevel.System,