Chris McDonough
2011-07-17 f2d5c1d8c08b437b84e8bed166f313b2b5dba990
not reusing this
1 files modified
14 ■■■■ changed files
pyramid/tests/test_paster.py 14 ●●●● patch | view | raw | blame | history
pyramid/tests/test_paster.py
@@ -5,8 +5,9 @@
        from pyramid.paster import PShellCommand
        return PShellCommand
    def _patch(self, cmd, patch_interact=True, patch_bootstrap=True,
               patch_config=True, patch_args=True, patch_options=True):
    def _makeOne(self, patch_interact=True, patch_bootstrap=True,
                 patch_config=True, patch_args=True, patch_options=True):
        cmd = self._getTargetClass()('pshell')
        if patch_interact:
            self.interact = DummyInteractor()
            cmd.interact = (self.interact,)
@@ -24,15 +25,6 @@
            self.options = Options()
            self.options.disable_ipython = True
            cmd.options = self.options
    def _makeOne(self, patch_interact=True, patch_bootstrap=True,
                 patch_config=True, patch_args=True, patch_options=True):
        cmd = self._getTargetClass()('pshell')
        self._patch(cmd, patch_interact=patch_interact,
                    patch_bootstrap=patch_bootstrap,
                    patch_config=patch_config,
                    patch_args=patch_args,
                    patch_options=patch_options,
                    )
        return cmd
    def test_command_ipshell_is_None_ipython_enabled(self):