Don't inject JEDI everywhere. Argh.
This commit is contained in:
parent
496dfb7026
commit
6f1145cb5e
1 changed files with 6 additions and 8 deletions
|
@ -44,7 +44,6 @@ def py_pytest(name, srcs, deps, main=None, python_version=None, args=None, **kwa
|
||||||
|
|
||||||
deps = sets.to_list(sets.make([
|
deps = sets.to_list(sets.make([
|
||||||
py_requirement("pytest"),
|
py_requirement("pytest"),
|
||||||
py_requirement("jedi"),
|
|
||||||
py_requirement("pytest-pudb"),
|
py_requirement("pytest-pudb"),
|
||||||
py_requirement("pytest-cov"),
|
py_requirement("pytest-cov"),
|
||||||
py_requirement("pytest-timeout"),
|
py_requirement("pytest-timeout"),
|
||||||
|
@ -52,7 +51,7 @@ def py_pytest(name, srcs, deps, main=None, python_version=None, args=None, **kwa
|
||||||
|
|
||||||
srcs = [f] + srcs
|
srcs = [f] + srcs
|
||||||
|
|
||||||
t = py_test(
|
py_test(
|
||||||
name = name,
|
name = name,
|
||||||
srcs = srcs,
|
srcs = srcs,
|
||||||
main = f,
|
main = f,
|
||||||
|
@ -62,11 +61,8 @@ def py_pytest(name, srcs, deps, main=None, python_version=None, args=None, **kwa
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
# FIXME (arrdem 2020-09-27):
|
# zapp_test(
|
||||||
# This really needs to be a py_image_test.
|
# name = name + ".zapp",
|
||||||
# Not clear how to achieve that.
|
|
||||||
# zapp_binary(
|
|
||||||
# name = name + ".hermetic",
|
|
||||||
# main = f,
|
# main = f,
|
||||||
# args = args,
|
# args = args,
|
||||||
# srcs = srcs,
|
# srcs = srcs,
|
||||||
|
@ -76,7 +72,9 @@ def py_pytest(name, srcs, deps, main=None, python_version=None, args=None, **kwa
|
||||||
# **kwargs,
|
# **kwargs,
|
||||||
# )
|
# )
|
||||||
|
|
||||||
return t
|
# FIXME (arrdem 2020-09-27):
|
||||||
|
# Generate a py_image_test.
|
||||||
|
# Not clear how to achieve that.
|
||||||
|
|
||||||
|
|
||||||
def py_unittest(srcs=[], **kwargs):
|
def py_unittest(srcs=[], **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue