Skip to content

Commit

Permalink
Improve the OpenCV filtering of isolation tests
Browse files Browse the repository at this point in the history
In particular, additional tests make use of OpenCV and need to be
skipped if it is disabled.
  • Loading branch information
pevogam committed Oct 23, 2024
1 parent 2279bc3 commit c691182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_region_expect.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def test_find_guess_target_image(self) -> None:

@unittest.skipIf(os.environ.get('DISABLE_PYQT', "0") == "1", "Disabled PyQt")
@unittest.skipIf(os.environ.get('DISABLE_OCR', "0") == "1", "Disabled OCR")
@unittest.skipIf(os.environ.get('DISABLE_OPENCV', "0") == "1", "Disabled OpenCV")
def test_find_guess_target_match(self) -> None:
"""Test target guess from match file configuration (target has match config)."""
self.show_image('all_shapes')
Expand Down

0 comments on commit c691182

Please sign in to comment.