def integration_test_python_path(*args): path = [ path_utils.python_aws_sdk_path(), path_utils.resource_manager_v1_path(), path_utils.resource_manager_v1_lib_path(), path_utils.resource_manager_v1_test_path() ] if args: path.extend(args) return path
def resource_manager_v1_lambda_code_test_python_path(target_directory_path, *args): path = [] path.extend( path_utils.resolve_imports( path_utils.gem_common_code_path('CloudGemFramework', gem_version_directory='v1'), target_directory_path ) ) path.extend(args) path.append(path_utils.python_aws_sdk_path()) return path
def resource_manager_v1_test_python_path(*args): path = [path_utils.resource_manager_v1_path()] path.extend( path_utils.resolve_imports( path_utils.gem_common_code_path('CloudGemFramework', gem_version_directory='v1'), path_utils.resource_manager_v1_path())) path.append(path_utils.resource_manager_v1_lib_path()) path.append(path_utils.python_aws_sdk_path()) path.append(path_utils.resource_manager_v1_test_path()) path.extend(args) return path
'PYTHONPATH': resource_manager_v1_test_python_path( path_utils.gem_common_code_path('CloudGemFramework', 'Utils', gem_version_directory='v1')) }, 'command': python_unittest_command( top_level_directory_path = path_utils.resource_manager_v1_path(), search_start_directory_path = path_utils.resource_manager_v1_test_path(), pattern='test_unit_common_code_import.py' ) }, 'CloudGemFramework common-code ResourceManagerCommon': { 'group': 1, 'environment': { 'PYTHONPATH': resource_manager_v1_common_code_test_python_path( path_utils.resource_manager_v1_resource_manager_common_path(), path_utils.python_aws_sdk_path() ) }, 'command': python_unittest_command( search_start_directory_path = path_utils.resource_manager_v1_resource_manager_common_path('resource_manager_common', 'test'), top_level_directory_path = path_utils.resource_manager_v1_resource_manager_common_path() ) }, 'CloudGemFramework common-code LambdaSettings': { 'group': 1, 'environment': { 'PYTHONPATH': resource_manager_v1_common_code_test_python_path( path_utils.gem_common_code_path('CloudGemFramework', 'LambdaSettings', gem_version_directory='v1'), path_utils.python_aws_sdk_path() )
'CloudGemFramework ResourceManager CommonCodeImport': { 'group': 1, 'environment': { 'PYTHONPATH': [ path_utils.resource_manager_v1_resource_manager_common_path(), path_utils.gem_common_code_path('CloudGemFramework', gem_version_directory='v1'), path_utils.gem_common_code_path('CloudGemFramework', 'ServiceClient_Python', gem_version_directory='v1'), path_utils.gem_common_code_path('CloudGemFramework', 'ServiceClient_Python', 'test', gem_version_directory='v1'), path_utils.python_aws_sdk_path(), path_utils.gem_common_code_path('CloudGemFramework', 'Utils', gem_version_directory='v1') ] }, 'command': python_unittest_command( top_level_directory_path=path_utils.resource_manager_v1_path(), search_start_directory_path=path_utils. resource_manager_v1_test_path(), pattern='test_unit_common_code_import.py') }, 'CloudGemFramework common-code ResourceManagerCommon': { 'group': 1,