コード例 #1
0
 def test_update_step(self):
     options = Mock()
     options.update = True
     expected_stderr = "Updating working directory\n"
     OutputCapture().assert_outputs(self,
                                    self._run_step, [Update, options],
                                    expected_stderr=expected_stderr)
コード例 #2
0
ファイル: download_unittest.py プロジェクト: UIKit0/WebkitAIR
 def _default_options(self):
     options = Mock()
     options.force_clean = False
     options.clean = True
     options.check_builders = True
     options.quiet = False
     options.non_interactive = False
     options.update = True
     options.build = True
     options.test = True
     options.close_bug = True
     return options
コード例 #3
0
 def _default_options(self):
     options = Mock()
     options.force_clean = False
     options.clean = True
     options.check_builders = True
     options.quiet = False
     options.non_interactive = False
     options.update = True
     options.build = True
     options.test = True
     options.close_bug = True
     return options
コード例 #4
0
 def test_update_step(self):
     options = Mock()
     options.update = True
     expected_stderr = "Updating working directory\n"
     OutputCapture().assert_outputs(self, self._run_step, [Update, options], expected_stderr=expected_stderr)