Esempio n. 1
0
def test_delete_registry_bucket(regress_flow_reg, fix_bucket):
    f_bucket = fix_bucket()
    r = versioning.delete_registry_bucket(f_bucket)
    assert r.identifier == f_bucket.identifier
    with pytest.raises(ValueError):
        _ = versioning.delete_registry_bucket('FakeNews')
Esempio n. 2
0
def test_delete_registry_bucket(fixture_registry_bucket):
    b1, c1 = fixture_registry_bucket
    r = versioning.delete_registry_bucket(b1)
    assert r.identifier == b1.identifier
    with pytest.raises(ValueError):
        _ = versioning.get_registry_bucket(b1.identifier, 'id')
Esempio n. 3
0
def test_delete_registry_bucket(fix_bucket):
    r = versioning.delete_registry_bucket(fix_bucket.bucket)
    assert r.identifier == fix_bucket.bucket.identifier
    with pytest.raises(ValueError):
        _ = versioning.delete_registry_bucket('FakeNews')