~townsend/autopilot/fix-gcalctool-desktop-file

« back to all changes in this revision

Viewing changes to autopilot/tests/unit/test_application_launcher.py

  • Committer: CI bot
  • Author(s): Thomi Richards, Max Brustkern
  • Date: 2014-04-08 00:29:44 UTC
  • mfrom: (459.6.5 logger-privatization)
  • Revision ID: ps-jenkins@lists.canonical.com-20140408002944-hkq216cwlrrbg3k7
Make logger objects within autopilot private. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
653
653
    def test_attempt_kill_pid_logs_if_process_already_exited(self, killpg):
654
654
        killpg.side_effect = OSError()
655
655
 
656
 
        with patch.object(_l, 'logger') as patched_log:
 
656
        with patch.object(_l, '_logger') as patched_log:
657
657
            _attempt_kill_pid(0)
658
658
            patched_log.info.assert_called_with(
659
659
                "Appears process has already exited."