38b120b03e
Update dependencies, fix tests
...
- replace assertTrue(mock.called_with(...)) with mock.assert_called_with
2024-08-23 17:57:40 +02:00
376cfab88f
Fix output of response_for_exception in tests
...
Django has a django.core.handlers.exception.response_for_exception that
handles SuspiciousOperationException, that is expected behaviour and
should not be logged in test output.
2023-05-02 17:57:13 +02:00
d88745f46b
Fix tests
2023-04-29 13:10:25 +02:00
4af1a39ca4
Upgrade to Django 3.2
...
- update dependencies
- fix deprecation warnings
- fix tests
- skip some tests that need more work
- reformat changed code with isort and black
2023-02-18 22:46:48 +01:00
3d18392b67
Fix tests for Python 3
...
- drop Python 2 __future__ imports
- fix tests to handle new Django and Python 3 module names
- reformat changed files with black
2019-01-30 21:27:25 +01:00
0a0524f1f0
Add tests for userdbs.views.ChangeDatabaseUserPassword
...
This commit adds tests for the ChangeDatabaseUserPassword view.
2016-01-29 10:03:24 +00:00
1f700fc06a
Add tests for userdbs.views.DeleteUserDatabase
...
This commit adds tests for the DeleteUserDatabase view and improves the
grammar of flash messages of the userdbs.views module.
2016-01-29 09:40:14 +00:00
e6c38b632b
Add test for userdbs.views.AddUserDatabase
...
This commit adds tests for userdbs.views.AddUserDatabase, the view
itself has been modified so that it is only reachable when the hosting
package actually has database options available.
2016-01-28 16:17:50 +01:00
1649e4592e
Add tests for userdbs app
...
This commit adds a set of unit tests for the userdbs app. Some tests
will fail because a refactoring to signals comes with the next commit.
2015-12-07 00:22:13 +00:00