lp:~the-test-people/selenium-simple-test/ci-fixes
- Get this branch:
- bzr branch lp:~the-test-people/selenium-simple-test/ci-fixes
Branch merges
- Corey Goldberg (community): Approve
-
Diff: 75 lines (+18/-12)4 files modifiedci.sh (+5/-2)
src/testproject/manage.py (+11/-8)
src/testproject/simple/urls.py (+1/-1)
src/testproject/urls.py (+1/-1)
Related bugs
Bug #1267380: ci.sh script fails, due to new version of Django | Critical | Fix Committed |
Related blueprints
Branch information
Recent revisions
- 440. By Peter Russell
-
Update the testproject to support modern Django versions
The manage.py file in testproject makes use of features which were
deprecated in Django 1.4 and removed by Django 1.6 (which is what is
brought in by the ci.sh script).Similarly, the urls modules needed their imports updating.
- 439. By Peter Russell
-
Don't rely on shebang lines working in the virtualenv.
The ci.sh script falls down when the full path to the working directory
has spaces in it (which is common for Jenkins workspaces). This is
because it's not legal to have spaces in the interpreter part of a
shebang line, and scripts like pip and flake8 are used from the
virtualenv.(virtualenv itself used to have this problem too, as it called
easy_install in the newly created env to set up pip, but this is fixed in
later versions)In order to fix this, the paths to the pip and flake8 scripts are passed
to the virtualenv python - 438. By Peter Russell
-
Adding set -e to ci.sh to improve robustness.
This has the effect of terminating the script as soon as any command
returns a non-zero exit code. As we presumably don't want flake 8
failures to prevent the tests from running, that line is allowed to fail. - 436. By Javier Collado
-
Merged fix for yahoo finance search example test case
Source branch: lp:~javier.collado/selenium-simple-test/yahoo_finance_search
- 432. By Vincent Ladeuil
-
[r=coreygoldberg] Tweak releasing and packaging instructions after 0.2.4 release.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:selenium-simple-test