File: test_protobuf.py

package info (click to toggle)
python-setuptools-protobuf 0.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: python: 177; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
7
from setuptools_protobuf import Protobuf


def test_protobuf():
    pb = Protobuf('foo.proto')
    assert pb.outputs() == ['foo_pb2.py']
    assert pb.mypy in (False, True)