Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Jun 26, 2022
1 parent 37cd46b commit 06f8524
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions application/tests/cre_main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,16 @@ def test_compare_datasets(self):

context1.pop()

self.assertEqual(
main.compare_datasets(t1, tdiff),
[
{"not_present": (c1.id, tdiff)},
{},
{"not_present": (f"{c1.id}-{infosum}", tdiff)},
{},
],
)

connection_2, app2, context2 = main.db_connect(path=t2)
sqla.create_all(app=app2)
connection_2.graph.graph = db.CRE_Graph.load_cre_graph(sqla.session)
Expand Down

0 comments on commit 06f8524

Please sign in to comment.