Skip to content

Commit 24ba796

Browse files
committed
Fix tests failing due to missing fakeopt
1 parent 7361cdb commit 24ba796

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_ignorer(monkeypatch, tmp_path: Path, ignore_cfg, candidate, result):
165165

166166
def test_find_required_modules(monkeypatch, tmp_path: Path):
167167
class options:
168-
pass
168+
skip_incompatible = False
169169

170170
options.ignore_reqs = common.ignorer(ignore_cfg=['barfoo'])
171171

tests/test_find_extra_reqs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def test_find_extra_reqs(monkeypatch, tmp_path: Path):
7272
class options:
7373
def ignore_reqs(x, y):
7474
return False
75+
skip_incompatible = False
7576

7677
options = options()
7778

0 commit comments

Comments
 (0)