コード例 #1
0
def resource_manager_v1_common_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)
    return path
コード例 #2
0
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
コード例 #3
0
        'environment': {
            'PYTHONPATH': resource_manager_v1_test_python_path(),
            'LYMETRICS': 'TEST'
        },
        '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_lmbr_aws.py' 
        )
    },

    'CloudGemFramework ResourceManager CommonCodeImport': {
        'group': 1,
        'environment': {
            '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()
            )
コード例 #4
0
ファイル: test_runner.py プロジェクト: zcnet4/lumberyard
         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': [path_utils.python_aws_sdk_path()]
     },
     'command':
     python_unittest_command(
         search_start_directory_path=path_utils.gem_common_code_path(
             'CloudGemFramework',
             'LambdaSettings',
             'CloudCanvas',
             'test',
             gem_version_directory='v1'),
         top_level_directory_path=path_utils.gem_common_code_path(
             'CloudGemFramework',
             'LambdaSettings',
             gem_version_directory='v1'))
 },
 'CloudGemFramework common-code LambdaService': {
     'group':
     1,
     'environment': {
         'PYTHONPATH': [path_utils.python_aws_sdk_path()]
     },
     'command':
     python_unittest_command(