'These tests need a user in the DB so that the django Test Client
can log them in.
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(InternationalizationTest, self).setUp()
    self.uname = 'testuser'
    self.email = 'test+courses@edx.org'
    self.password = 'foo'
    self.user = User.objects.create_user(self.uname, self.email, self.password)
    self.user.is_active = True
    self.user.is_staff = True
    self.user.save()
    self.course_data = {'org': 'MITx', 'number': '999', 'display_name': 'Robot    Super    Course'}
