diff --git a/tests/src/python/test_qgsfeaturesource.py b/tests/src/python/test_qgsfeaturesource.py index 2f1c53a81b93..9331e9ce3910 100644 --- a/tests/src/python/test_qgsfeaturesource.py +++ b/tests/src/python/test_qgsfeaturesource.py @@ -170,5 +170,6 @@ def testMaterialize(self): for id, f in original_features.items(): self.assertEqual(new_features[id].attributes()[0], f.attributes()[0]) + if __name__ == '__main__': unittest.main()