Merge lp:~salgado/offspring/lexbuilder-without-current-job-is-public into lp:offspring
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 114 |
Proposed branch: | lp:~salgado/offspring/lexbuilder-without-current-job-is-public |
Merge into: | lp:offspring |
Prerequisite: | lp:~salgado/offspring/sidebars |
Diff against target: |
66 lines (+28/-3) 2 files modified
lib/offspring/web/queuemanager/models.py (+14/-3) lib/offspring/web/queuemanager/tests/test_models.py (+14/-0) |
To merge this branch: | bzr merge lp:~salgado/offspring/lexbuilder-without-current-job-is-public |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin McDermott | Approve | ||
Review via email: mp+85870@code.launchpad.net |
Description of the change
Make sure Lexbuilders with no current_job are considered public
To post a comment you must log in.
Looks good
+ builder = factory. make_lexbuilder ()
+ builder.current_job = None
+ builder.save()
this could be tidied up with kwargs on the make_lexbuilder to pass in current_job ?