diff --git a/tests_new/integration_tests/core/environment/test_environment.py b/tests_new/integration_tests/core/environment/test_environment.py index 28e487230..256fd3327 100644 --- a/tests_new/integration_tests/core/environment/test_environment.py +++ b/tests_new/integration_tests/core/environment/test_environment.py @@ -119,5 +119,5 @@ def test_add_consumption_role_unauthorized(client2, session_env2, group1): ).contains('UnauthorizedOperation', 'ADD_ENVIRONMENT_CONSUMPTION_ROLES', env_uri) -def test_create_crossaccount_env(client5, persistent_cross_acc_env_1, group5): - assert_that(persistent_cross_acc_env_1.stack.status).is_in('CREATE_COMPLETE', 'UPDATE_COMPLETE') +def test_create_crossaccount_env(client5, session_cross_acc_env_1, group5): + assert_that(session_cross_acc_env_1.stack.status).is_in('CREATE_COMPLETE', 'UPDATE_COMPLETE')