Пример #1
0
def test_vault_describe_does_not_exist():
    conn = GlacierTestsConfig().connection()
    try:
        conn.describe_vault(GlacierTestsConfig().prefix() + '-doesnotexist')
    except GlacierError as e:
        eq_(e.code, 'ResourceNotFoundException')
        body = json.loads(e.body)
        eq_(body['type'], 'client')