github.com/sercand/please@v13.4.0+incompatible/test/python_rules/pytest/BUILD (about)

     1  package(python_test_runner = "pytest")
     2  
     3  python_library(
     4      name = "inc",
     5      srcs = ["inc.py"],
     6  )
     7  
     8  python_library(
     9      name = "relative_imports",
    10      srcs = glob(["relative_imports/*"]),
    11  )
    12  
    13  python_test(
    14      name = "test_relative_imports",
    15      srcs = ["test_relative_imports.py"],
    16      deps = [
    17          ":relative_imports",
    18      ],
    19  )
    20  
    21  python_test(
    22      name = "pytest_test",
    23      srcs = ["test_runner.py"],
    24      deps = [":inc"],
    25  )
    26  
    27  python_test(
    28      name = "test_pytest_unicode",
    29      srcs = ["test_pytest_unicode.py"],
    30  )