Don't inject JEDI everywhere. Argh.

This commit is contained in:
Reid 'arrdem' McKenzie 2022-06-15 01:11:44 -06:00
parent 26e77a1df2
commit fa843e86aa

View file

@ -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):