import pytest

from d1lod import sesame

@pytest.fixture(scope="module")
def store():
    return sesame.Store('localhost', 8080)

@pytest.fixture(scope="module")
def repo(store):
    return sesame.Repository(store, 'test')

@pytest.fixture(scope="module")
def interface(repo):
    return sesame.Interface(repo)

@@ -180,47 +180,859 @@
     
-return sesame.Repository(store, 'test')
+namespaces = %7B%0A        'owl': 'http://www.w3.org/2002/07/owl#',%0A        'rdfs': 'http://www.w3.org/2000/01/rdf-schema#',%0A        'rdf': 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',%0A        'xsd': 'http://www.w3.org/2001/XMLSchema#',%0A        'foaf': 'http://xmlns.com/foaf/0.1/',%0A        'dcterms': 'http://purl.org/dc/terms/',%0A        'datacite': 'http://purl.org/spar/datacite/',%0A        'glbase': 'http://schema.geolink.org/',%0A        'd1dataset': 'http://lod.dataone.org/dataset/',%0A        'd1person': 'http://lod.dataone.org/person/',%0A        'd1org': 'http://lod.dataone.org/organization/',%0A        'd1node': 'https://cn.dataone.org/cn/v1/node/',%0A        'd1landing': 'https://search.dataone.org/#view/',%0A        %22prov%22: %22http://www.w3.org/ns/prov#%22%0A    %7D%0A%0A    repository = sesame.Repository(store, 'test', ns=namespaces)%0A%0A    return repository
 %0A%0A@p

Add default set of namespaces to test repository instance