summaryrefslogtreecommitdiff
path: root/subdir/foo_tests.py
blob: ce10d5cc8a886adf9c6ad807c4136ff007c0c5f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import unittest

from subdir import foo

class FooTests(unittest.TestCase):

    def testTrue(self):
        f = foo.Foo()
        self.failUnlessEqual(f.foo(True), True)
    
    def testFalse(self):
        f = foo.Foo()
        self.failUnlessEqual(f.foo(False), False)