From 508b15787750c3a31348d7c5c868f65eb2bc2e66 Mon Sep 17 00:00:00 2001 From: teald Date: Tue, 17 Sep 2024 13:25:33 -0700 Subject: [PATCH] =?UTF-8?q?test(nox):=20=F0=9F=90=9B=20Fix=20typo=20in=20s?= =?UTF-8?q?cript=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index e4ab1608..37b66ead 100644 --- a/noxfile.py +++ b/noxfile.py @@ -564,7 +564,7 @@ def dragons_dev_tests(session: nox.Session) -> None: def unit_tests(session: nox.Session) -> None: """Run the unit tests.""" install_test_dependencies(session) - session.install("-e", ".") + session.install("-e", ".", "--no-deps") # Positional arguments after -- are passed to pytest. pos_args = session.posargs @@ -771,7 +771,7 @@ def build_tests_integration(session): def script_tests(session: nox.Session) -> None: """Run the script tests.""" install_test_dependencies(session) - session.install(".") + session.install("-e", ".", "--no-deps") # Run the tests. Need to pass arguments to pytest. session.run("pytest", "tests/script_tests", *session.posargs)