David Smith
74ddb4f0e0
Updated supported versions of Python and Django
...
Dropped Python2.7/3.5 and Django 1.11 from test matrix
Removed Py2 code and updated for Py3 features
Replaced assertRaisesRegexp with AsserRaisesRegex
Updated setup.py for currently supported versions
Removed _timestamp
2020-11-30 22:35:33 +00:00
Pi Delport
2d8cbd25bd
Address flake8 W605 (invalid escape sequence)
2018-11-15 15:05:38 +01:00
Peter Bittner
c7b14bdf5c
Drop Python 3.2 support
...
Refactor Travis CI configuration
Add flake8 checks, address all complaints
2017-10-16 12:11:23 +02:00
Bodnar Bogdan
9df1182877
Fix exception message
2017-08-16 10:41:09 +02:00
Peter Bittner
f832ec6179
Remove dead code (unsupported Python/Django versions)
2016-05-18 14:51:52 +02:00
Joost Cassee
de1d29f3c9
Fix missing max_length in test user identity field
2016-01-06 15:22:38 +01:00
Brad Pitcher
5af731ab9d
support custom username fields
2015-12-20 09:40:08 -08:00
Brad Pitcher
4273525668
override internal ips with empty list
2015-12-17 13:48:24 -08:00
Peter Bittner
e2ad1ceced
Fix flake8 complaints (E225, E261, E302, W291, W292, W293)
2015-09-08 22:35:06 +02:00
Eric Amador
67f29fdb2b
Use assertRaisesRegex when available.
2015-04-18 00:42:54 -04:00
Craig Bruce
51a08742c5
removed custom override_settings, using django instead. Removed with/without app decorators as only use in a few places. Updated all tests to use django provided override_settings.
2014-09-05 12:26:08 -07:00
Joost Cassee
170f8babad
Fix Travis and comment out failing test
...
Django 1.6 does not allow dynamic changes to the install apps list
anymore, at least not in the same way as 1.5 did. No time to fix the
test, so cowardly commenting it out.
2014-04-29 01:45:47 +02:00
Joost Cassee
b9c2b88d22
Merge remote-tracking branch 'edavis/setting-deleted'
2011-09-18 00:12:30 +02:00
Joost Cassee
1ae5d5c4d7
Add multiple domains support for Google Analytics
2011-09-17 23:13:25 +02:00
Eric Davis
264f984421
Clarify where assertRaisesRegexp comes from
2011-09-17 12:29:15 -07:00
Eric Davis
c88fbd6c75
Make SettingDeleted tests compatible with Python 2.6 and Django 1.2
...
Using assertRaises as a context manager only became possible in Python
2.7 or when using Django 1.3 (thanks to unittest2). This change lets
the tests pass when using Python 2.6 and Django 1.2.
Also, test for the existence of assertRaisesRegexp and use it if it
exists, otherwise use assertRaises.
2011-09-17 11:13:15 -07:00
Eric Davis
96ee34e671
Use assertRaisesRegexp for get_required_setting test
2011-09-16 16:26:40 -07:00
Eric Davis
e8ce3be1b0
Add some tests for SETTING_DELETED
2011-09-12 09:25:46 -07:00
Joost Cassee
13d4051592
Merge branch 'master' of github.com:jcassee/django-analytical
...
Remove settings manager from testcase
2011-07-05 07:12:58 +02:00
Joost Cassee
c76e47714e
Add tests for internal IP addresses
2011-01-30 10:06:01 +01:00
Joost Cassee
cf7589bc20
Fix tests
...
Some parts of the code are not yet tested:
* internal IP addresses feature
* utils module
2011-01-30 03:05:10 +01:00