예제 #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
     )