Skip to content
Snippets Groups Projects
Commit 4fa5753d authored by Jonathan Séguin's avatar Jonathan Séguin
Browse files

Update testing_utilities.py

parent c972e3b6
No related branches found
No related tags found
1 merge request!2Resolve "Basic command line script to input NGS / Chemo toy data"
......@@ -22,24 +22,12 @@ def create_test_user():
def populate_test_db():
create_test_user()
# User.objects.create_user('test', email='test@test.com', password='test')
# """
# Adds records to an empty test database
# Add records to an empty test database
# """
# cat = Category.objects.create(cat_name='Widgets')
# cat_inactive = Category.objects.create(cat_name='Inactive Category',
# cat_active=False)
# thing1 = Thing.objects.create(category=cat,
# thing_desc="Test Thing",
# thing_model="XYZ1234",
# thing_brand="Brand X")
#
# User.objects.create_user(
# username='admin',
# email='admin@test.com',
# password='secret666')
#
# ...
#
def login_test_user(self):
self.client.login(username='test', password='test')
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment