Skip to content
Permalink
Browse files

update tests

  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 17, 2020
1 parent 3f92ca5 commit ebb517c05b39e1ec37b3cde444f45bf518a97bd8
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/src/python/test_qgsrelationpostgres.py
@@ -54,7 +54,9 @@ def test_discover_relations(self):
Test the automatic discovery of relations
"""
relations = self.relMgr.discoverRelations([], self.vl_tables)
self.assertEqual(len(relations), 18)
self.assertEqual(len(relations), 10)
self.assertEqual(sum([len(r.referencingFields()) for r in relations]), 18)
self.assertEqual(sum([len(r.referencedFields()) for r in relations]), 18)


if __name__ == '__main__':

0 comments on commit ebb517c

Please sign in to comment.
You can’t perform that action at this time.