I must remember to run lint locally before pushing :-(
import json
+
from tests.lib import create_basic_wheel_for_package
@@ -12,7 +13,7 @@ def assert_installed(script, **kwargs):
def test_new_resolver_can_install(script):
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"simple",
"0.1.0",
@@ -27,7 +28,7 @@ def test_new_resolver_can_install(script):
def test_new_resolver_can_install_with_version(script):
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"simple",
"0.1.0",
@@ -42,12 +43,12 @@ def test_new_resolver_can_install_with_version(script):
def test_new_resolver_picks_latest_version(script):
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"simple",
"0.1.0",
)
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"simple",
"0.2.0",
@@ -60,14 +61,15 @@ def test_new_resolver_picks_latest_version(script):
)
assert_installed(script, simple="0.2.0")
+
def test_new_resolver_installs_dependencies(script):
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"base",
"0.1.0",
depends=["dep"],
)
- package = create_basic_wheel_for_package(
+ create_basic_wheel_for_package(
script,
"dep",
"0.1.0",
