$ pip install -r tests/requirements.txt
$ py.test tests/To run Selenium tests locally instead of SauceLabs:
$ RUN_TESTS_LOCAL="True" py.test tests/By default, local Selenium tests will run with PhantomJS.
To change that, edit tests/test_js.py:
if RUN_LOCAL:
# could add Chrome, PhantomJS etc... here
browsers = ['PhantomJS']
else:
from sauceclient import SauceClient
# ...Using Impressor