'These tests need a user in the DB so that the django Test Client can log them in.
The test user is created in the ModuleStoreTestCase setUp method.
They inherit from the ModuleStoreTestCase class so that the mongodb collection
will be cleared out before each test case execution and deleted
afterwards.'

def setUp(self):

    super(CourseTestCase, self).setUp()
    self.client = AjaxEnabledTestClient()
    self.client.login(username=self.user.username, password=self.user_password)
    self.course = CourseFactory.create()
