def test_graph(self): graph = Graph() assert 'github.io' in graph.base_uri, graph.base_uri assert graph.get_schema({}) == {}, graph.get_schema({}) assert 'github.io' in repr(graph), repr(graph) assert str(graph) in repr(graph), repr(graph)
def test_missing_schema(self): graph = Graph() graph.get_schema('foo')