Add database conversion test to the common app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* Add an user test mixin to group user testing.
|
||||
* Add test the user managament app for database conversion.
|
||||
* Add support for natural keys to the DocumentPageImageCache model.
|
||||
* Add database conversion test to the common app.
|
||||
|
||||
3.1.1 (2018-09-18)
|
||||
==================
|
||||
|
||||
10
mayan/apps/common/tests/test_models.py
Normal file
10
mayan/apps/common/tests/test_models.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from common.tests import BaseTestCase
|
||||
from user_management.tests.mixins import UserTestMixin
|
||||
|
||||
|
||||
class UserLocaleProfileTestCase(UserTestMixin, BaseTestCase):
|
||||
def test_natural_keys(self):
|
||||
self._create_user()
|
||||
self._test_database_conversion('auth', 'common')
|
||||
Reference in New Issue
Block a user