Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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,
     )
Exemplo n.º 4
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath('novars.py'))
     self.failUnlessEqual({}, localVars)
Exemplo n.º 5
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.failUnlessEqual(
         {'test-case-name': 'twisted.trial.test.test_test_visitor'},
         localVars)
Exemplo n.º 6
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.assertEqual({'test-case-name': 'twisted.trial.test.test_log'},
                      localVars)
Exemplo n.º 7
0
 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)
Exemplo n.º 8
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath('novars.py'))
     self.failUnlessEqual({}, localVars)
Exemplo n.º 9
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.failUnlessEqual({'test-case-name':
                           'twisted.trial.test.test_test_visitor'},
                          localVars)
Exemplo n.º 10
0
 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)
Exemplo n.º 11
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.assertEqual({'test-case-name':
                           'twisted.trial.test.test_log'},
                          localVars)
Exemplo n.º 12
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath("novars.py"))
     self.assertEqual({}, localVars)
Exemplo n.º 13
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath("moduletest.py"))
     self.assertEqual({"test-case-name": "twisted.trial.test.test_log"},
                      localVars)
Exemplo n.º 14
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath("moduletest.py"))
     self.failUnlessEqual({"test-case-name": "twisted.trial.test.test_test_visitor"}, localVars)
Exemplo n.º 15
0
 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
     )