Skip to content

Commit

Permalink
Leverage dependencies to run tests properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
DFINITYManu committed Jan 20, 2025
1 parent ecc9502 commit 28c5da9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions release-controller/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -90,34 +90,34 @@ py_test(

py_test(
name = "test_reconciler",
srcs = ["tester.py"] + ["tests/test_reconciler.py"] + glob(["tests/mock_*.py"]) + reconciler_deps,
srcs = ["tester.py"] + ["tests/test_reconciler.py"] + glob(["tests/mock_*.py"]),
data = glob(["tests/test_data/*"]),
main = "tester.py",
env = env,
tags = ["no-sandbox", "typecheck"],
deps = deps + dev_deps,
deps = deps + dev_deps + ["release-controller"],
env_inherit = ["HOME"],
)

py_test(
name = "test_forum",
srcs = ["tester.py"] + ["tests/test_forum.py"] + glob(["tests/mock_*.py"]) + reconciler_deps,
srcs = ["tester.py"] + ["tests/test_forum.py"] + glob(["tests/mock_*.py"]),
data = glob(["tests/test_data/*"]),
main = "tester.py",
env = env,
tags = ["no-sandbox", "typecheck"],
deps = deps + dev_deps,
deps = deps + dev_deps + ["release-controller"],
env_inherit = ["HOME"],
)

py_test(
name = "test_publish_notes",
srcs = ["tester.py"] + ["tests/test_publish_notes.py"] + glob(["tests/mock_*.py"]) + reconciler_deps,
srcs = ["tester.py"] + ["tests/test_publish_notes.py"] + glob(["tests/mock_*.py"]),
data = glob(["tests/test_data/*"]),
main = "tester.py",
env = env,
tags = ["no-sandbox", "typecheck"],
deps = deps + dev_deps,
deps = deps + dev_deps + ["release-controller"],
env_inherit = ["HOME"],
)

Expand Down

0 comments on commit 28c5da9

Please sign in to comment.