~vila/+junk/ols-tests-django

  • Committer: Vincent Ladeuil
  • Date: 2016-02-17 16:14:42 UTC
  • Revision ID: vila+ols@canonical.com-20160217161442-bvj344ppm4kjmtx7
The --load parameter is a file handle for argparse but still a file name for optparse.

Rework the tests to reproduce the issue which requires running from a higher
level as the django framework completely separate argument parsing from
command object building.

Moreover, the test command creates a test runner command object as a local
variable which cannot be overridden by tests. sys.stdout has to be
redirected :-/
Filename Latest Rev Last Changed Committer Comment Size
..
olstestsdjango 1 8 years ago Vincent Ladeuil Bootstrap with test runner from sso with its passi Diff
.bzrignore 10 8 years ago Vincent Ladeuil Use tox to ensure we support django-1.[6789]. Thi 62 bytes Diff Download File
django_settings.py 1 8 years ago Vincent Ladeuil Bootstrap with test runner from sso with its passi 105 bytes Diff Download File
Makefile 1 8 years ago Vincent Ladeuil Bootstrap with test runner from sso with its passi 160 bytes Diff Download File
README 1 8 years ago Vincent Ladeuil Bootstrap with test runner from sso with its passi 173 bytes Diff Download File
setup.py 10 8 years ago Vincent Ladeuil Use tox to ensure we support django-1.[6789]. Thi 323 bytes Diff Download File
tox.ini 16 8 years ago Vincent Ladeuil Add test envs for pay, sca and sso as they use dif 1 KB Diff Download File