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/iperf | |
parent | cf1e50a80976fae95eef4ab05d961200b04e2346 (diff) |
Call py_requirement with named argument for optional kwarg.
PiperOrigin-RevId: 294930818
Diffstat (limited to 'benchmarks/workloads/iperf')
-rw-r--r-- | benchmarks/workloads/iperf/BUILD | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/benchmarks/workloads/iperf/BUILD b/benchmarks/workloads/iperf/BUILD index 570f40148..91b953718 100644 --- a/benchmarks/workloads/iperf/BUILD +++ b/benchmarks/workloads/iperf/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 = "iperf_test", srcs = ["iperf_test.py"], python_version = "PY3", - deps = [ + deps = test_deps + [ ":iperf", - 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), ], ) |