From 19d0434b47da68642f783954a885e434bedd926b Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Feb 2021 18:48:22 +0000 Subject: [PATCH 1/2] test: install package before tests deps in unit_prev_versions This ensures rsa<4.6 is installed. --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index adce2527c..78cc5ff0b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -92,8 +92,8 @@ def unit(session): @nox.session(python=["2.7"]) def unit_prev_versions(session): - session.install(*TEST_DEPENDENCIES) session.install(".") + session.install(*TEST_DEPENDENCIES) session.run( "pytest", "--cov=google.auth", "--cov=google.oauth2", "--cov=tests", "tests" ) From 5cc9aa7a37cc1ad030cc60f392a68420f7f93690 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Feb 2021 19:50:39 +0000 Subject: [PATCH 2/2] chore: blacken --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 78cc5ff0b..7bc1af24d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -93,7 +93,7 @@ def unit(session): @nox.session(python=["2.7"]) def unit_prev_versions(session): session.install(".") - session.install(*TEST_DEPENDENCIES) + session.install(*TEST_DEPENDENCIES) session.run( "pytest", "--cov=google.auth", "--cov=google.oauth2", "--cov=tests", "tests" )