dipper.utils.TestUtils module¶
-
class
dipper.utils.TestUtils.
TestUtils
¶ Bases:
object
-
static
remove_ontology_axioms
(graph)¶ Given an rdflib graph, remove any triples connected to an ontology node: {} a owl:Ontology :param graph: RDFGraph :return: None
-
static
test_graph_equality
(turtlish, graph)¶ Parameters: - turtlish – file path or string of triples in turtle format without prefix header
- graph – Graph object to test against
Returns: Boolean, True if graphs contain same set of triples
-
static