Skip to content

Commit 7d0cd42

Browse files
committed
Adds more tests for the ambiguous pypi update
1 parent 49ba8dd commit 7d0cd42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/test_interface.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,11 @@ def test_version_update_pypi():
180180
s.root_path = (Path(__file__).parent / "test_source").resolve()
181181
did_update = s._update_version_pypi(test=True)
182182
assert did_update
183+
184+
s.disable_autoupdate = True
185+
did_update = s._update_version_pypi()
186+
assert not did_update
187+
188+
s.disable_autoupdate = False
189+
did_update = s._update_version_pypi()
190+
assert not did_update

0 commit comments

Comments
 (0)