aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/py_native/test.py
blob: 811eee144e35b44328990a65bf94586a06cd9ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""A tiny example binary for the native Python rules of Bazel."""
import unittest
from examples.py_native.lib import GetNumber


class TestGetNumber(unittest.TestCase):

  def test_ok(self):
    self.assertEquals(GetNumber(), 42)


if __name__ == '__main__':
  unittest.main()