Пример #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)
Пример #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)
Пример #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,
     )
Пример #4
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath('novars.py'))
     self.failUnlessEqual({}, localVars)
Пример #5
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.failUnlessEqual(
         {'test-case-name': 'twisted.trial.test.test_test_visitor'},
         localVars)
Пример #6
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.assertEqual({'test-case-name': 'twisted.trial.test.test_log'},
                      localVars)
Пример #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)
Пример #8
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath('novars.py'))
     self.failUnlessEqual({}, localVars)
Пример #9
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.failUnlessEqual({'test-case-name':
                           'twisted.trial.test.test_test_visitor'},
                          localVars)
Пример #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)
Пример #11
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath('moduletest.py'))
     self.assertEqual({'test-case-name':
                           'twisted.trial.test.test_log'},
                          localVars)
Пример #12
0
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath("novars.py"))
     self.assertEqual({}, localVars)
Пример #13
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath("moduletest.py"))
     self.assertEqual({"test-case-name": "twisted.trial.test.test_log"},
                      localVars)
Пример #14
0
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath("moduletest.py"))
     self.failUnlessEqual({"test-case-name": "twisted.trial.test.test_test_visitor"}, localVars)
Пример #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
     )