Merge lp:~henninge/launchpad/bug-458924 into lp:launchpad
Proposed by
Henning Eggers
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Henning Eggers | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~henninge/launchpad/bug-458924 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
92 lines 1 file modified
lib/lp/testing/__init__.py (+58/-9) |
||||
To merge this branch: | bzr merge lp:~henninge/launchpad/bug-458924 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | Approve | ||
Canonical Launchpad Engineering | code | Pending | |
Review via email: mp+13831@code.launchpad.net |
To post a comment you must log in.
= Details = time_counter is more what I need. Still, I think this improvement to FakeTime might be useful anyway.
See bug 458924.
This is a simple improvement to FakeTime. I thought that with these improvements I could use FakeTime instead of some local implementations in my tests but I found that lp.testing.
== Test ==
All tests currently using FakeTime should still pass. They are found in codehosting.
bin/test -vvct TestBranchRewriter -t TestLoggingUIFa ctory -t TestBranchFileS ystemClient
= Launchpad lint =
I did *not* fix the imports because this is an __init__.py file and people might be importing from here.
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: testing/ __init_ _.py
lib/lp/
== Pyflakes notices ==
lib/lp/ testing/ __init_ _.py
20: 'InvalidURLJoin' imported but unused
43: 'is_logged_in' imported but unused
45: 'test_tales' imported but unused