コード例 #1
0
ファイル: test_stacks.py プロジェクト: arenadata/adcm
def test_cluster_bundle_can_be_on_any_level(sdk_client_fs: ADCMClient):
    """Test upload cluster bundle lower that in directory root"""
    stack_dir = utils.get_data_dir(__file__, "cluster_bundle_on_any_level")
    sdk_client_fs.upload_from_fs(stack_dir)
    with allure.step("Check cluster bundle"):
        assert sdk_client_fs.service_prototype_list()
        assert sdk_client_fs.cluster_prototype_list()
コード例 #2
0
ファイル: test_stacks.py プロジェクト: dimuha-rs/adcm
def test_cluster_bundle_can_be_on_any_level(sdk_client_fs: ADCMClient):
    stack_dir = utils.get_data_dir(__file__, 'cluster_bundle_on_any_level')
    sdk_client_fs.upload_from_fs(stack_dir)
    with allure.step('Check cluster bundle'):
        assert sdk_client_fs.service_prototype_list()
        assert sdk_client_fs.cluster_prototype_list()