test/data/testcase_pkg/tests/unittest_mixed.py
author David Douard <david.douard@logilab.fr>
Thu, 13 Nov 2014 14:53:00 +0100
changeset 1751 56eb553a3618
parent 584 c2d1a10c29bd
child 1849 f1947f5b3395
permissions -rwxr-xr-x
[recipes] update quick ans setup.distutils recipes

from logilab.common.testlib import TestCase, unittest_main

class DummyTest(TestCase):
    def test_ok(self):
        self.failUnlessEqual(1, 1)
    def test_ok2(self):
        pass
    def test_skip(self):
        self.skip("la mer qu'on voit dancer")
    def test_skip2(self):
        self.skip("Hast du etwas Zeit fur mich?")

    def test_fail_0(self):
        self.assertEquals(1337, 0)

    def test_fail_1(self):
        self.assertEquals(1337, 1)

    def test_fail_2(self):
        self.assertEquals(1337, 2)

    def test_fail_3(self):
        self.assertEquals(1337, 3)

    def test_fail_4(self):
        self.assertEquals(1337, 4)

    def test_fail_5(self):
        self.assertEquals(1337, 5)

    def test_fail_6(self):
        self.assertEquals(1337, 6)

    def test_fail_7(self):
        self.assertEquals(1337, 7)

    def test_fail_8(self):
        self.assertEquals(1337, 8)

    def test_fail_9(self):
        self.assertEquals(1337, 9)

    def test_fail_10(self):
        self.assertEquals(1337, 10)

    def test_fail_11(self):
        self.assertEquals(1337, 11)

    def test_fail_12(self):
        self.assertEquals(1337, 12)

    def test_fail_13(self):
        self.assertEquals(1337, 13)

    def test_fail_14(self):
        self.assertEquals(1337, 14)


    def test_errors(self):
        int.dsqhgdlsjgjl


if __name__ == '__main__':
    unittest_main()