Commit Graph
20 Commits
Author SHA1 Message Date
Ilan Steemers 15155c7a99 Build improvements (#569)
* Black linting

* Adding Black to dev dependencies and upping minimal python to 3.6.2 for compatibility

* Updating packages

* Removing pip-tools input and exporting requirements with poetry

* Deleting old setup files and test runner

* Trying 1.3.7

* Looser extras requirements to prevent conflicts

* Sorted imports with isort

* Added iSort to dev dependencies

* Fixes localtime for naive setups
2021-05-30 17:10:07 +02:00
Daniel Trembath 3e8fc91d46 Change Django documentation URLs from v1.8 to v2.2
URLs were linking to a now unsupported version of Django. Django v2.2 is a LTS version, and also matches the documentation intersphinx_mapping in docs/conf.py.
2020-10-07 17:56:23 +11:00
Ilan Steemers f353daca53 Merge branch 'django_2_compat' into django_2_compat 2018-01-08 10:53:49 +01:00
ilan 81d4b36b1b Cherry picking compatibility commits 2018-01-08 09:57:20 +01:00
Ronald van Zon a4086bffd7 Update MIDDLEWARE_CLASSES to represent new style.
In Django 1.10 MIDDLEWARE_CLASSES is set to deprecated and is removed in Django 2.0.
The SessionAuthenticationMiddleware is also removed from Django 2.0 and was already
unconditionally enabled in Django 1.10.
2017-12-12 15:29:12 +01:00
Ilan 5fd436021f Expanding coverage 2015-07-20 12:17:12 +02:00
Ilan b876b1e06d Tests now run with logging level DEBUG 2015-07-17 14:17:40 +02:00
Ilan a5580c75a1 Workaround for Travis
Travis doesn't support cpu affinity in their virtuals so I've added a setting TESTING that will bypass the actual affinity setting, but will still cover most of the code.
Might be useful for future workarounds.
2015-07-15 22:17:13 +02:00
Ilan 1f28bf1c68 Travis doesn't like cpu affinity. I'm guessing 2015-07-15 20:15:46 +02:00
Ilan 2d0820e80b Adds cpu affinity for the workers. Courtesy of the optional psutil module. 2015-07-15 19:53:13 +02:00
Ilan Steemers 0a8196838a Removed security middleware from test for Django 1.7 2015-07-08 21:02:00 +02:00
Ilan Steemers 729abaf726 set exit timeout if no timeout is given 2015-07-07 20:37:03 +02:00
Ilan Steemers ba525a9312 Fixes Travis error
added failing hook to tests
2015-07-01 12:42:13 +02:00
Ilan Steemers d0b950f9d6 Configuration is now through a dict. 2015-06-28 14:26:55 +02:00
Ilan Steemers d8020f0c0b Redis server now configurable with Q_REDIS. Moved constants to conf 2015-06-27 12:08:33 +02:00
Ilan Steemers 8c4f0110fb Added default logger handler and made coloredlogs optional 2015-06-26 18:07:44 +02:00
Ilan Steemers 0798c42354 adding url module for test 2015-06-24 17:04:30 +02:00
Ilan Steemers 21a4950f36 fixed test settings error 2015-06-24 16:56:07 +02:00
Ilan Steemers 0ed1da8f05 Refactoring to make testing more stable 2015-06-23 21:12:08 +02:00
Ilan Steemers 093431e88d Lots of stuff
- changed to single monitor for success and failures
- result is now in django model
- started addings tests
2015-06-16 19:03:00 +02:00