~sylvain-pineau/checkbox/filter_packages_removal

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/test_ctrl.py

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=sylvain-pineau]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
489
489
 
490
490
    CLS = CheckBoxExecutionController
491
491
 
492
 
    def setUp(self):
 
492
    @mock.patch('plainbox.impl.ctrl.check_output')
 
493
    def setUp(self, mock_check_output):
493
494
        self.ctrl = self.CLS(self.SESSION_DIR, self.PROVIDER_LIST)
494
495
        # Create mocked job definition.
495
496
        # Put a mocked provider on the job and give it some values for:
515
516
            name='extcmd_popen',
516
517
            spec=extcmd.ExternalCommand)
517
518
 
518
 
    def test_init(self):
 
519
    @mock.patch('plainbox.impl.ctrl.check_output')
 
520
    def test_init(self, mock_check_output):
519
521
        """
520
522
        verify that __init__() stores session_dir
521
523
        """