diff options
Diffstat (limited to 'gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out')
-rw-r--r-- | gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out b/gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out new file mode 100644 index 0000000..80739d9 --- /dev/null +++ b/gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out @@ -0,0 +1,16 @@ +load("@rules_python//python:defs.bzl", "py_library", "py_test") + +py_library( + name = "has_test", + srcs = ["python/my_module.py"], + imports = ["../.."], + visibility = ["//:__subpackages__"], +) + +py_test( + name = "has_test_test", + srcs = ["__test__.py"], + imports = ["../.."], + main = "__test__.py", + deps = [":has_test"], +) |