Merge lp:~thomir-deactivatedaccount/ubuntu-calendar-app/trunk-fix-ugly-bits into lp:ubuntu-calendar-app
Status: | Rejected |
---|---|
Rejected by: | Nicholas Skaggs |
Proposed branch: | lp:~thomir-deactivatedaccount/ubuntu-calendar-app/trunk-fix-ugly-bits |
Merge into: | lp:ubuntu-calendar-app |
Diff against target: |
26 lines (+6/-3) 1 file modified
tests/autopilot/calendar_app/tests/__init__.py (+6/-3) |
To merge this branch: | bzr merge lp:~thomir-deactivatedaccount/ubuntu-calendar-app/trunk-fix-ugly-bits |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicholas Skaggs (community) | Disapprove | ||
Review via email: mp+221099@code.launchpad.net |
Commit message
Fix tmp directory breakage that occurred in unit test's scaffolding under some conditions.
Description of the change
Fix an error in the __init__.py of calendar_app's autopilot tests. '~' was not being expanded by python into a full path when click_test == true, causing tests to fail with:
File "/home/
super(TestWeekView, self).setUp()
File "/home/
self.home_dir = self._patch_home()
File "/home/
self.useFixture
File "/usr/lib/
fixture.setUp()
File "/usr/lib/
self.path = tempfile.
File "/usr/lib/
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '~/autopilot/
}}}
Unmerged revisions
- 292. By Thomi Richards
-
Fixed bug where '~' was not being expanded, and cleaned up some other code.
Looks like Nick's done a separate fix at lp:~nskaggs/ubuntu-calendar-app/fix-ap-env-setup so maybe this isn't necessary anymore.