| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Django-1.8 added _meta classes for User models,
which aren't supported by AnonymousUsers, the
AbstractBaseUser provides default implementation
for _meta classes.
SimpleTest has been deprecated since Django-1.6 and
was now removed.
Unfortunately, this change drops Django-1.6 (and earlier) compatibility.
Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com>
Partially Implements: blueprint django18
Change-Id: Ie243fd2304421694023f579f49f8fa201e761ba3
|
|
|
|
|
|
|
|
|
| |
Run coverage reports with `tox -ecover`
Creates xml and html reports like horizon
* changed html destination to 'reports', like horizon
Closes-Bug: 1470203
Change-Id: I91b96eaf9a50e6d199e08d019ff5519a2e0574d5
|
|
|
|
|
|
| |
Default test run is against Django 1.7, adding job for Django 1.6
Change-Id: Ic63bad1ef7bf8e19ec1aae48ca4eb52fa1ef2dfd
|
|
|
|
|
|
|
|
| |
Python 2.6 is no longer supported in Django >= 1.7 or by OpenStack
as of Kilo. Additionally, the versions of django_openstack_auth are
all capped on the stable branches, so this will not effect them.
Change-Id: I75fc4a0ba090eb0d10cda235a1deb75f734ab1c7
|
|
|
|
| |
Change-Id: I39bb85f3c313b8e5065c07aef5c05f7a44f16c98
|
|
|
|
|
|
|
| |
Allow passing a test module name via the tox command line to allow
running individual tests.
Change-Id: Iff551d054e2a8252f437f6756760cd4418abcfa4
|
|
|
|
|
|
|
|
|
| |
Release notes:
http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0
Per the release notes, H803 and H904 has been removed.
Change-Id: I93c184f4f0483fd0ba605c87453e26c52f700a42
|
|
|
|
|
|
|
|
|
| |
In order to sync global-requirements, this patch bumps
hacking to 0.9.x series.
H236, H305, H307 errors are fixed in this patch.
H307 and H904 are added to the ignore list.
Change-Id: I37c16ad67912dec8ce1562676ae0ebbfbe277d99
|
|
|
|
| |
Change-Id: I56299bcb4f02dfab95b995f147c32623cf329fab
|
|
|
|
|
|
| |
Completes blueprint openstack-hacking-compliant
Change-Id: Ib286972b65e0e3282db483718421f7f28e8c6cd1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
H301 one import per line |
H304 No relative imports
When checking imports DJANGO_SETTINGS_MODULE environment needs to
be set. Add the following to tox.ini testenv:pep8.
setenv = DJANGO_SETTINGS_MODULE=openstack_auth.tests.settings
A part of blueprint openstack-hacking-compliant
Change-Id: I65a23c1e9a5d7a5852d448651254b6a3866f1dd3
|
|
|
|
|
|
|
| |
H803: Git commit title should not end with period.
Change-Id: I4d05b85200de234e9353c8fb26429841488fc0b2
Closes-bug: #1236621
|
|
|
|
|
|
|
|
| |
This patch modifies tox.ini file to use the latest Django 1.4
release to test django-openstack-auth.
Change-Id: I6b9203d02aee79339f933eef5765de76901d2ecb
Closes-Bug: #1308123
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In django-based projects, we need to specify DJANGO_SETTINGS_MODULE
when running docs build. It is required to addresses the failure of
docs build job in the gate.
Change-Id: I33a867bc00c70f333c4dc62add411f833e418424
Closes-Bug: #1302532
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the following rules from ignore list
without any violations from these:
H201,H302,H303,H701,H702,H803
A part of blueprint openstack-hacking-compliant
Change-Id: I4e43e13234f7640ef216db168d873c4cc1198328
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
E502 the backslash is redundant between brackets
E501 line too long (XX > 79 characters)
F841 local variable 'XXX' is assigned to but never used
Remove F403 and F999 from ignore list because there is
no violations related to these.
The remaining are all from OpenStack Hacking (H***) rules.
A part of blueprint openstack-hacking-compliant
Change-Id: I0fb46309621c15dfe4363039bbe46669f1315dec
|
|/
|
|
|
|
|
|
|
|
|
| |
E121 continuation line indentation is not a multiple of four
E126 continuation line over-indented for hanging indent
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
A part of blueprint openstack-hacking-compliant
Change-Id: I06ce0ee5132178a777ce9b9e409ef1d24af1ea1f
|
|
|
|
|
|
|
|
|
|
|
| |
Bumping the upper version of Django to include 1.6.
Adding a tox env to maintain support for Django 1.5 and fixing
env for django 1.4
Implements blueprint django-16-support
Change-Id: I093b38f85bea1fbd7641571a3871a721abadd37c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The default session serializer switched to JSONSerializer in Django-1.6.
Unfortunately, it can't serialize arbitrary objects (such as datetime
instances), there we have to stay with PickleSerializer (compare with
https://docs.djangoproject.com/en/1.6/topics/http/sessions/#write-your-own-serializer).
Sets Django==1.4 for the py27dj14 tox testenv. Don't relax the version
requirements just yet.
Change-Id: Ifb5a68950fa6a4a652a0fb0cb81048d89763ec3f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tox 1.6 was released, which means that we can now take advantage of
the feature we added to it - which is using setup.py develop to
install the code into the virtualenv. The logic was taken from
run_tests.sh - so the performance issues around using tox vs. using
install_venv should now be gone.
Additionally, override the tox pip install command to avoid using the
"--pre" option which is the default in tox. "--pre" means "Include
pre-release and development versions." By default, pip will only
install stable versions of software, and that is the behavior we want.
Change-Id: Ida5e440d1bdb9f8e9031277ea53a02d2ef171438
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
|
|
|
|
| |
Change-Id: If03b325c941dcac257b25b90c8b152dcead5edd2
|
|
Change-Id: I11c89c3902d974e94f4fee29211970546579f29e
|