diff --git a/src/sakia/tests/unit/core/graph/test_wot_graph.py b/src/sakia/tests/unit/core/graph/test_wot_graph.py index cd20d38704ade5d6ad459edf8b877f9494b821a9..e0e355a24cee102cc3e57f161304f52fb3b889ae 100644 --- a/src/sakia/tests/unit/core/graph/test_wot_graph.py +++ b/src/sakia/tests/unit/core/graph/test_wot_graph.py @@ -133,10 +133,10 @@ class TestWotGraph(unittest.TestCase, QuamashTest): self.assertTrue(result) self.assertEqual(len(wot_graph.nx_graph.nodes()), 3) self.assertEqual(len(wot_graph.nx_graph.edges()), 2) - path = await wot_graph.get_shortest_path_to_identity(self.idC, self.account_identity) - self.assertEqual(path[0], self.idC.pubkey) + path = await wot_graph.get_shortest_path_to_identity(self.account_identity, self.idC) + self.assertEqual(path[0], self.account_identity.pubkey,) self.assertEqual(path[1], self.idB.pubkey) - self.assertEqual(path[2], self.account_identity.pubkey) + self.assertEqual(path[2], self.idC.pubkey) self.lp.run_until_complete(exec_test())