Skip to content

Commit

Permalink
Update geospaas/nansat_ingestor/tests.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Korosov <[email protected]>
  • Loading branch information
opsdep and akorosov committed Jul 10, 2020
1 parent 9d1ec3c commit 326b33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geospaas/nansat_ingestor/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def setUp(self):
self.mock_Nansat.return_value.get_border_wkt.return_value = 'POLYGON((24.88 68.08,22.46 68.71,19.96 69.31,17.39 69.87,24.88 68.08))'
self.mock_Nansat.return_value.bands.side_effect = self.mock_bands
# in order to prevent "mock leak" in the tests
self.addCleanup(self.patcher.stop)
self.addCleanup(patcher.stopall)

self.patcher2 = patch('geospaas.utils.utils.os.path.isfile')
self.mock_isfile = self.patcher2.start()
Expand Down

0 comments on commit 326b33c

Please sign in to comment.