File: test_hello.py

package info (click to toggle)
zope2.13 2.13.22-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 38,644 kB
  • ctags: 38,805
  • sloc: python: 196,395; xml: 90,515; ansic: 24,121; sh: 916; makefile: 333; perl: 37
file content (7 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
from unittest import TestCase

class HelloWorldTest(TestCase):
    def testHelloMsg(self):
        from hello import hello
        self.assertEqual(hello(), "Hello, world!")