Sign in
pigweed
/
third_party
/
github
/
bazelbuild
/
rules_python
/
85e50d2a4b87b6ba27bb23ce29df89efcf1cfaa6
/
.
/
examples
/
py_proto_library
/
test.py
blob: ec24600740076139fb96b23b7286a56387610d20 [
file
] [
log
] [
blame
]
import
sys
import
unittest
from
proto
import
pricetag_pb2
class
TestCase
(
unittest
.
TestCase
):
def
test_pricetag
(
self
):
got
=
pricetag_pb2
.
PriceTag
(
name
=
"dollar"
,
cost
=
5.00
,
)
self
.
assertIsNotNone
(
got
)
if
__name__
==
"__main__"
:
unittest
.
main
()