def test_prepare_resource_config():
    config = _TransformJob._prepare_resource_config(INSTANCE_COUNT, INSTANCE_TYPE, KMS_KEY_ID)
    assert config == {
        "InstanceCount": INSTANCE_COUNT,
        "InstanceType": INSTANCE_TYPE,
        "VolumeKmsKeyId": KMS_KEY_ID,
    }
Esempio n. 2
0
def test_prepare_resource_config():
    config = _TransformJob._prepare_resource_config(INSTANCE_COUNT,
                                                    INSTANCE_TYPE, KMS_KEY_ID)
    assert config == {
        'InstanceCount': INSTANCE_COUNT,
        'InstanceType': INSTANCE_TYPE,
        'VolumeKmsKeyId': KMS_KEY_ID
    }
Esempio n. 3
0
def test_prepare_resource_config():
    config = _TransformJob._prepare_resource_config(INSTANCE_COUNT, INSTANCE_TYPE)
    assert config == {'InstanceCount': INSTANCE_COUNT, 'InstanceType': INSTANCE_TYPE}