Skip to content

Commit

Permalink
Minor addition to NodeQuery tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsekar committed Oct 20, 2017
1 parent dad7cec commit 600e772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_query.py
Expand Up @@ -70,11 +70,13 @@ def test_nodequery(self):
nq.remove_existing_match_candidate(instances[3])

nq = queries[0]
self.assertEqual(len(nq.match_candidates),len(nq.match_dict))
vals = [nq.match_dict[x] for x in nq.match_candidates]
self.assertEqual(len(nq.match_candidates),3)
self.assertEqual(vals,[False,False,True])

nq = queries[1]
self.assertEqual(len(nq.match_candidates),len(nq.match_dict))
vals = [nq.match_dict[x] for x in nq.match_candidates]
self.assertEqual(len(nq.match_candidates),3)
self.assertEqual(vals,[False,True,False])

0 comments on commit 600e772

Please sign in to comment.