Sign in
pigweed
/
third_party
/
github
/
bazelbuild
/
rules_python
/
2c29f401dcab6e6b84b56d9b4e9849fe0cf0a550
/
.
/
examples
/
bzlmod
/
test.py
blob: f9f0a830cd484ec4a3b5b91cadb5eaf261251aee [
file
] [
log
] [
blame
]
import
unittest
from
__init__
import
main
class
ExampleTest
(
unittest
.
TestCase
):
def
test_main
(
self
):
self
.
assertEquals
(
"""\
- -
A 1
B 2
- -"""
,
main
([[
"A"
,
1
],
[
"B"
,
2
]]),
)
if
__name__
==
"__main__"
:
unittest
.
main
()