Mercurial > repos > shellac > guppy_basecaller
diff env/lib/python3.7/site-packages/prov/tests/test_graphs.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author | shellac |
---|---|
date | Mon, 01 Jun 2020 08:59:25 -0400 |
parents | 79f47841a781 |
children |
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/prov/tests/test_graphs.py Thu May 14 16:47:39 2020 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -from __future__ import (absolute_import, division, print_function, - unicode_literals) - -import unittest -from prov.tests.examples import tests -from prov.graph import prov_to_graph, graph_to_prov - - -class ProvGraphTestCase(unittest.TestCase): - def test_simple_graph_conversion(self): - for name, doc_func in tests: - prov_org = doc_func() - g = prov_to_graph(prov_org) - if prov_org.has_bundles(): - # Cannot round-trip with documents containing bundles, skipping - continue - prov_doc = graph_to_prov(g) - self.assertEqual(prov_doc, prov_org, "Round trip graph conversion for '{}' failed.".format(name))