summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index 4ee47d723..0d606476d 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -79,9 +79,7 @@ def create_superuser():
return username, password, user
-def create_user():
- username = 'username678'
- password = 'dcbqj756aaa456!@%'
+def create_user(username='username678', password='dcbqj756aaa456!@%'):
q = User.objects.filter(username=username)
if q.count():
return username, password, q.all()[0]