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