1 # -*- coding: utf-8 -*-
3 from nose.exc import SkipTest
6 class TestForXunit(unittest.TestCase):
8 def test_success(self):
12 self.assertEqual("this","that")
15 raise TypeError("oops, wrong type")
17 def test_non_ascii_error(self):
18 raise Exception(u"日本")
20 def test_output(self):
21 sys.stdout.write("test-generated output\n")
24 raise SkipTest("skipit")