コード例 #1
0
def test_adds_default_namespaces_when_created(store):
    store.deleteRepository('test')
    store.createRepository('test')
    r = Repository(store, 'test')

    print r.namespaces()
    assert len(r.namespaces()) == 6

    i = Interface(r)

    assert len(r.namespaces()) > 6