forked from p15670423/monkey
UT: Fix test_version__request_failed()
This commit is contained in:
parent
2e70b87ee9
commit
6dc29e36e2
|
@ -29,7 +29,7 @@ def test_version__request_failed(monkeypatch, request_mock):
|
||||||
monkeypatch.setattr("requests.get", request_mock)
|
monkeypatch.setattr("requests.get", request_mock)
|
||||||
version = Version(version_number="1.0.0", deployment=Deployment.DEVELOP)
|
version = Version(version_number="1.0.0", deployment=Deployment.DEVELOP)
|
||||||
version._initialization_complete.wait()
|
version._initialization_complete.wait()
|
||||||
assert version.latest_version is None
|
assert version.latest_version == "1.0.0"
|
||||||
assert version.download_url is None
|
assert version.download_url is None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue