Skip to content
Permalink
Browse files
Improve output of flaky test
  • Loading branch information
m-kuhn committed May 4, 2021
1 parent e66e305 commit 8c56c5622808f2ade6d9b0e5373c644070490a8e
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/python/test_qgsqueryresultmodel.py
@@ -111,7 +111,8 @@ def loop_exiter():
while self.running:
QCoreApplication.processEvents()

self.assertTrue(res.fetchedRowCount() > 0 and res.fetchedRowCount() < self.NUM_RECORDS)
self.assertGreater(res.fetchedRowCount(), 0)
self.assertLess(res.fetchedRowCount(), self.NUM_RECORDS))

@unittest.skipIf(os.environ.get('QGIS_CONTINUOUS_INTEGRATION_RUN', 'true'), 'Local manual test: not for CI')
def test_widget(self):

0 comments on commit 8c56c56

Please sign in to comment.