mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
make migrations unicode safe, fixes #1345
This commit is contained in:
@@ -9,7 +9,9 @@ from awx.main.models import Role
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_user_admin(user_project, project, user):
|
||||
joe = user('joe', is_superuser = False)
|
||||
username = unicode("\xc3\xb4", "utf-8")
|
||||
|
||||
joe = user(username, is_superuser = False)
|
||||
admin = user('admin', is_superuser = True)
|
||||
sa = Role.singleton('System Administrator')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user