'Delete mongo log entries after test.'

@classmethod
def tearDownClass(cls):

    super(TestSysAdminMongoCourseImport, cls).tearDownClass()
    try:
        mongoengine.connect(TEST_MONGODB_LOG['db'])
        CourseImportLog.objects.all().delete()
    except mongoengine.connection.ConnectionError:
        pass
