File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ async def test_get_package_version_from_pypi():
22
22
# Success: Provide incomplete version
23
23
version = await get_package_version_from_pypi (PKG , version = "1.2" )
24
24
debug (version )
25
- assert version == "1.2.1 "
25
+ assert version == "1.2.2 "
26
26
27
27
# Success: Provide weird incomplete version
28
28
version = await get_package_version_from_pypi (PKG , version = "1.2." )
29
29
debug (version )
30
- assert version == "1.2.1 "
30
+ assert version == "1.2.2 "
31
31
32
32
# Success: Check that fractal-tasks-core version is something like `a.b.c`
33
33
actual_latest_version = await get_package_version_from_pypi (PKG )
@@ -50,7 +50,7 @@ async def test_get_package_version_from_pypi_failures(monkeypatch):
50
50
51
51
# Failure 2: invalid incomplete version
52
52
with pytest .raises (HTTPException , match = "No version starting" ):
53
- await get_package_version_from_pypi (PKG , version = "1.2.2 " )
53
+ await get_package_version_from_pypi (PKG , version = "1.2.3 " )
54
54
55
55
# Failure 3: KeyError due to unexpected response (200, with wrong data)
56
56
async def _patched_get_1 (* args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments