lp:~the-test-people/selenium-simple-test/ci-fixes

Created by Peter Russell and last modified
Get this branch:
bzr branch lp:~the-test-people/selenium-simple-test/ci-fixes
Members of The Test People can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
The Test People
Project:
selenium-simple-test
Status:
Merged

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.

437. By Michael Foord

[r=coreygoldberg] Fix a loop to iterate the correct number of times.

436. By Javier Collado

Merged fix for yahoo finance search example test case

Source branch: lp:~javier.collado/selenium-simple-test/yahoo_finance_search

435. By Corey Goldberg

[r=elopio] modernize python files for easier porting.

434. By Corey Goldberg

[r=elopio] switched back to pypi from crate.io for tox packages in tests

433. By Corey Goldberg

[r=coreygoldberg,elopio] removed the ability to disable javascript

432. By Vincent Ladeuil

[r=coreygoldberg] Tweak releasing and packaging instructions after 0.2.4 release.

431. By Corey Goldberg

[r=coreygoldberg,vila] bump version to 0.2.5dev

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
This branch contains Public information 
Everyone can see this information.

Subscribers