10000 chore: fix test dependencies (#482) · googleapis/python-datastore@0402592 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0402592

Browse files
chore: fix test dependencies (#482)
1 parent b13b15c commit 0402592

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

noxfile.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
"pytest-cov",
4141
"pytest-asyncio",
4242
]
43-
UNIT_TEST_EXTERNAL_DEPENDENCIES = []
43+
UNIT_TEST_EXTERNAL_DEPENDENCIES = [
44+
"six",
45+
]
4446
UNIT_TEST_LOCAL_DEPENDENCIES = []
4547
UNIT_TEST_DEPENDENCIES = []
4648
UNIT_TEST_EXTRAS = []
@@ -52,7 +54,9 @@
5254
"pytest",
5355
"google-cloud-testutils",
5456
]
55-
SYSTEM_TEST_EXTERNAL_DEPENDENCIES = []
57+
SYSTEM_TEST_EXTERNAL_DEPENDENCIES = [
58+
"six",
59+
]
5660
SYSTEM_TEST_LOCAL_DEPENDENCIES = []
5761
SYSTEM_TEST_DEPENDENCIES = []
5862
SYSTEM_TEST_EXTRAS = []

owlbot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ def get_staging_dirs(
9999
templated_files = common.py_library(
100100
microgenerator=True,
101101
split_system_tests=True,
102+
# six required by (but not installed by) google-cloud-core < v2.0.0
103+
unit_test_external_dependencies=["six"],
104+
system_test_external_dependencies=["six"],
102105
cov_level=100,
103106
)
104107
s.move(

0 commit comments

Comments
 (0)
0