def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath('scripttest.py')) self.assertEqual( { 'test-case-name': ('twisted.trial.test.test_log,' 'twisted.trial.test.test_runner') }, localVars)
def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath('scripttest.py')) self.failUnlessEqual( { 'test-case-name': ('twisted.trial.test.test_test_visitor,' 'twisted.trial.test.test_class') }, localVars)
def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath("scripttest.py")) self.assertEqual( { "test-case-name": ("twisted.trial.test.test_log," "twisted.trial.test.test_runner") }, localVars, )
def test_noVariablesInFile(self): localVars = trial.loadLocalVariables(sibpath('novars.py')) self.failUnlessEqual({}, localVars)
def test_variablesFromFile(self): localVars = trial.loadLocalVariables(sibpath('moduletest.py')) self.failUnlessEqual( {'test-case-name': 'twisted.trial.test.test_test_visitor'}, localVars)
def test_variablesFromFile(self): localVars = trial.loadLocalVariables(sibpath('moduletest.py')) self.assertEqual({'test-case-name': 'twisted.trial.test.test_log'}, localVars)
def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath('scripttest.py')) self.failUnlessEqual( {'test-case-name': ('twisted.trial.test.test_test_visitor,' 'twisted.trial.test.test_class')}, localVars)
def test_variablesFromFile(self): localVars = trial.loadLocalVariables(sibpath('moduletest.py')) self.failUnlessEqual({'test-case-name': 'twisted.trial.test.test_test_visitor'}, localVars)
def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath('scripttest.py')) self.assertEqual( {'test-case-name': ('twisted.trial.test.test_log,' 'twisted.trial.test.test_class')}, localVars)
def test_noVariablesInFile(self): localVars = trial.loadLocalVariables(sibpath("novars.py")) self.assertEqual({}, localVars)
def test_variablesFromFile(self): localVars = trial.loadLocalVariables(sibpath("moduletest.py")) self.assertEqual({"test-case-name": "twisted.trial.test.test_log"}, localVars)
def test_variablesFromFile(self): localVars = trial.loadLocalVariables(sibpath("moduletest.py")) self.failUnlessEqual({"test-case-name": "twisted.trial.test.test_test_visitor"}, localVars)
def test_variablesFromScript(self): localVars = trial.loadLocalVariables(sibpath("scripttest.py")) self.failUnlessEqual( {"test-case-name": ("twisted.trial.test.test_test_visitor," "twisted.trial.test.test_class")}, localVars )