mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
A post hook that allows user creation with passwords being set appropriately, and associated tests.
This commit is contained in:
@@ -16,6 +16,10 @@ from lib.main.models import *
|
||||
|
||||
class BaseTest(django.test.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(BaseTest, self).setUp()
|
||||
self.object_ctr = 0
|
||||
|
||||
def make_user(self, username, password, super_user=False):
|
||||
django_user = None
|
||||
if super_user:
|
||||
|
||||
Reference in New Issue
Block a user