Add database conversion test to the common app.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-21 00:48:21 -04:00
parent 7c4de79c8f
commit c8ff089707
2 changed files with 11 additions and 0 deletions

View File

@@ -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)
==================

View 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')