diff options
author | Jeff Bradberry <jeff.bradberry@gmail.com> | 2022-01-31 23:19:45 +0100 |
---|---|---|
committer | Jeff Bradberry <jeff.bradberry@gmail.com> | 2022-03-08 00:11:36 +0100 |
commit | 9b6fa5543362c425f7f16a97812850096588852c (patch) | |
tree | 1375c9d2833b48c21a7b85e7d7907db909a89dd5 /awxkit/tox.ini | |
parent | Fix up logger .warn() calls to use .warning() instead (diff) | |
download | awx-9b6fa5543362c425f7f16a97812850096588852c.tar.xz awx-9b6fa5543362c425f7f16a97812850096588852c.zip |
Deal with breaking tests for 3.1
- Django's PostgreSQL JSONField wraps values in a JsonAdapter, so deal
with that when it happens. This goes away in Django 3.1.
- Setting related *_id fields clears the actual relation field, so
trying to fake objects for tests is a problem
- Instance.objects.me() was inappropriately creating stub objects
every time while running tests, but some of our tests now create
real db objects. Ditch that logic and use a proper fixture where needed.
- awxkit tox.ini was pinned at Python 3.8
Diffstat (limited to 'awxkit/tox.ini')
-rw-r--r-- | awxkit/tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awxkit/tox.ini b/awxkit/tox.ini index 73c9493e1d..3e63d73673 100644 --- a/awxkit/tox.ini +++ b/awxkit/tox.ini @@ -8,7 +8,7 @@ skip_missing_interpreters = true # skipsdist = true [testenv] -basepython = python3.8 +basepython = python3.9 passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH setenv = PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}:. |