コード例 #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
ファイル: test_script.py プロジェクト: UstadMobile/eXePUB
 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
ファイル: test_script.py プロジェクト: UstadMobile/eXePUB
 def test_noVariablesInFile(self):
     localVars = trial.loadLocalVariables(sibpath('novars.py'))
     self.failUnlessEqual({}, localVars)
コード例 #5
0
ファイル: test_script.py プロジェクト: UstadMobile/eXePUB
 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
ファイル: test_script.py プロジェクト: AlexanderHerlan/syncpy
 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
ファイル: test_script.py プロジェクト: AlexanderHerlan/syncpy
 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
ファイル: test_script.py プロジェクト: galaxysd/BitTorrent
 def test_variablesFromFile(self):
     localVars = trial.loadLocalVariables(sibpath("moduletest.py"))
     self.failUnlessEqual({"test-case-name": "twisted.trial.test.test_test_visitor"}, localVars)
コード例 #15
0
ファイル: test_script.py プロジェクト: galaxysd/BitTorrent
 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
     )