Skip to content

Commit 66521ac

Browse files
authored
Fix distro packaging test (#989)
1 parent 4bd78fe commit 66521ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

distro/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ py_test(
9393
data = [
9494
"testdata/BUILD.tpl",
9595
":distro",
96+
":small_module",
9697
"//:standard_package",
9798
],
9899
imports = [".."],

distro/packaging_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def setUp(self):
3838
def testVersionsMatch(self):
3939
"""version.bzl must match MODULE.bazel"""
4040
module_bazel_path = self.data_files.Rlocation(
41-
'rules_pkg/MODULE.bazel')
41+
'rules_pkg/distro/MODULE.bazel')
4242
with open(module_bazel_path, encoding="utf-8") as inp:
4343
want = 'version = "%s"' % self.version
4444
content = inp.read()

0 commit comments

Comments
 (0)