Skip to content

Commit

Permalink
Using create_user instead of create on User.objects to avoid the pyli…
Browse files Browse the repository at this point in the history
…nt warning.

TNL-2822
  • Loading branch information
muzaffaryousaf committed Oct 30, 2015
1 parent 3df444e commit 9b81aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milestones/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setUp(self):
self.test_course_key = CourseKey.from_string('the/course/key')
self.test_prerequisite_course_key = CourseKey.from_string('the/prerequisite/key')
self.test_content_key = UsageKey.from_string('i4x://the/content/key/12345678')
self.test_user = User.objects.create(
self.test_user = User.objects.create_user(
first_name='Test',
last_name='User',
email='test_user@edx.org',
Expand Down

0 comments on commit 9b81aa5

Please sign in to comment.