source/projects/calf/tests/python/BUILD

21 lines
334 B
Python
Raw Normal View History

2021-04-09 07:16:16 +00:00
py_library(
name = "conftest",
srcs = [
"conftest.py"
],
imports = [
"."
],
)
py_pytest(
name = "test",
srcs = glob(["*.py"]),
deps = [
"//projects/calf:lib",
":conftest",
py_requirement("pytest-cov"),
],
args = ["--cov-report", "term", "--cov=calf"],
)