awips2/pythonPackages/nose/functional_tests/test_multiprocessing/test_nameerror.py
2016-06-27 15:10:22 -05:00

13 lines
367 B
Python

import os
from test_multiprocessing import support, MPTestBase
class TestMPNameError(MPTestBase):
processes = 2
suitepath = os.path.join(os.path.dirname(__file__), 'support', 'nameerror.py')
def runTest(self):
print str(self.output)
assert 'NameError' in self.output
assert "'undefined_variable' is not defined" in self.output