|
| 1 | +load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test") |
| 2 | + |
| 3 | +py_binary( |
| 4 | + name = "bvt", |
| 5 | + srcs = ["bvt.py"], |
| 6 | + visibility = ["//:__subpackages__"], |
| 7 | + deps = [ |
| 8 | + "//tableaudocumentapi", |
| 9 | + "//test/assets", |
| 10 | + "@pypi//lxml", |
| 11 | + ], |
| 12 | +) |
| 13 | + |
| 14 | +py_library( |
| 15 | + name = "test", |
| 16 | + srcs = [ |
| 17 | + "__init__.py", |
| 18 | + "bvt.py", |
| 19 | + ], |
| 20 | + visibility = ["//:__subpackages__"], |
| 21 | + deps = [ |
| 22 | + "//tableaudocumentapi", |
| 23 | + "//test/assets", |
| 24 | + "@pypi//lxml", |
| 25 | + ], |
| 26 | +) |
| 27 | + |
| 28 | +py_test( |
| 29 | + name = "test_datasource", |
| 30 | + srcs = ["test_datasource.py"], |
| 31 | + deps = ["//tableaudocumentapi"], |
| 32 | +) |
| 33 | + |
| 34 | +py_test( |
| 35 | + name = "test_field", |
| 36 | + srcs = ["test_field.py"], |
| 37 | + deps = ["//tableaudocumentapi"], |
| 38 | +) |
| 39 | + |
| 40 | +py_test( |
| 41 | + name = "test_field_change", |
| 42 | + srcs = ["test_field_change.py"], |
| 43 | + deps = [ |
| 44 | + "//tableaudocumentapi", |
| 45 | + "@pypi//lxml", |
| 46 | + ], |
| 47 | +) |
| 48 | + |
| 49 | +py_test( |
| 50 | + name = "test_multidict", |
| 51 | + srcs = ["test_multidict.py"], |
| 52 | + deps = ["//tableaudocumentapi"], |
| 53 | +) |
| 54 | + |
| 55 | +py_test( |
| 56 | + name = "test_workbook", |
| 57 | + srcs = ["test_workbook.py"], |
| 58 | + deps = ["//tableaudocumentapi"], |
| 59 | +) |
| 60 | + |
| 61 | +py_test( |
| 62 | + name = "test_xfile", |
| 63 | + srcs = ["test_xfile.py"], |
| 64 | + deps = [ |
| 65 | + "//tableaudocumentapi", |
| 66 | + "//test/assets", |
| 67 | + ], |
| 68 | +) |
0 commit comments