1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Copyright (c) 2007-2010 testdoc authors. See LICENSE for details. """A sample test module.""" import unittest class SomeTest(unittest.TestCase): """This is a test class that doesn't do anything.""" def test_foo_handles_qux(self): """Objects should have only one responsibility.""" def test_bar(self): """Do one thing and do it well.""" class AnotherTest(unittest.TestCase): def test_baz(self): pass |