-
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 :-/