File: test_class.py

package info (click to toggle)
nose 1.3.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,900 kB
  • sloc: python: 15,733; makefile: 99; xml: 42; sh: 2
file content (13 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
import os

from test_multiprocessing import MPTestBase


#test case for #462
class TestClassFixture(MPTestBase):
    suitepath = os.path.join(os.path.dirname(__file__), 'support', 'class.py')

    def runTest(self):
        assert str(self.output).strip().endswith('OK')
        assert 'Ran 2 tests' in self.output