diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-13 09:20:30 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-13 09:21:39 -0800 |
commit | 3ad6d3056371b031fb0c16c4e365d5c7e60bdaf0 (patch) | |
tree | 6e1fa4fd140ff69b02dbc310f5e77a3cc50ae7bc /benchmarks/workloads/redisbenchmark | |
parent | cf1e50a80976fae95eef4ab05d961200b04e2346 (diff) |
Call py_requirement with named argument for optional kwarg.
PiperOrigin-RevId: 294930818
Diffstat (limited to 'benchmarks/workloads/redisbenchmark')
-rw-r--r-- | benchmarks/workloads/redisbenchmark/BUILD | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/benchmarks/workloads/redisbenchmark/BUILD b/benchmarks/workloads/redisbenchmark/BUILD index f472a4443..147cfedd2 100644 --- a/benchmarks/workloads/redisbenchmark/BUILD +++ b/benchmarks/workloads/redisbenchmark/BUILD @@ -1,4 +1,5 @@ -load("//tools:defs.bzl", "pkg_tar", "py_library", "py_requirement", "py_test") +load("//tools:defs.bzl", "pkg_tar", "py_library", "py_test") +load("//benchmarks:defs.bzl", "test_deps") package( default_visibility = ["//benchmarks:__subpackages__"], @@ -14,16 +15,8 @@ py_test( name = "redisbenchmark_test", srcs = ["redisbenchmark_test.py"], python_version = "PY3", - deps = [ + deps = test_deps + [ ":redisbenchmark", - py_requirement("attrs", False), - py_requirement("atomicwrites", False), - py_requirement("more-itertools", False), - py_requirement("pathlib2", False), - py_requirement("pluggy", False), - py_requirement("py", False), - py_requirement("pytest", True), - py_requirement("six", False), ], ) |