mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 21:49:27 -02:30
removing some invalid chars
This commit is contained in:
@@ -61,7 +61,7 @@ def test_update_password_on_create(run_module, admin_user, mock_auth_stuff):
|
|||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
def test_update_user(run_module, admin_user, mock_auth_stuff):
|
def test_update_user(run_module, admin_user, mock_auth_stuff):
|
||||||
result = run_module('tower_user', dict(
|
result = run_module('tower_user', dict(
|
||||||
username='Bob',
|
username='Bob',
|
||||||
password='pass4word',
|
password='pass4word',
|
||||||
is_system_auditor=True
|
is_system_auditor=True
|
||||||
@@ -69,9 +69,8 @@ def test_update_user(run_module, admin_user, mock_auth_stuff):
|
|||||||
assert not result.get('failed', False), result.get('msg', result)
|
assert not result.get('failed', False), result.get('msg', result)
|
||||||
assert result.get('changed'), result
|
assert result.get('changed'), result
|
||||||
|
|
||||||
update_result = run_module('tower_user', dict(
|
update_result = run_module('tower_user', dict(
|
||||||
username='Bob',
|
username='Bob',
|
||||||
password='pass4word',
|
|
||||||
is_system_auditor=False
|
is_system_auditor=False
|
||||||
), admin_user)
|
), admin_user)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user