Skip to content
Permalink
Browse files

replace assert by self.assertEqual

  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 17, 2020
1 parent 2f2b715 commit a820ed6427751034a3b7b786c2e7671ee6d493d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsrelationpostgres.py
@@ -54,7 +54,7 @@ def test_discover_relations(self):
Test the automatic discovery of relations
"""
relations = self.relMgr.discoverRelations([], self.vl_tables)
assert(len(relations) == 18)
self.assertEqual(len(relations), 18)


if __name__ == '__main__':

0 comments on commit a820ed6

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