'This is the same as TestSysadmin.test_xml_course_add_delete,
but it uses a mongo store'

def test_mongo_course_add_delete(self):

    self._setstaff_login()
    self._mkdir(settings.GIT_REPO_DIR)
    def_ms = modulestore()
    self.assertNotEqual('xml', def_ms.get_modulestore_type(None))
    self._add_edx4edx()
    course = def_ms.get_course(CourseKey.from_string('MITx/edx4edx/edx4edx'))
    self.assertIsNotNone(course)
    self._rm_edx4edx()
    course = def_ms.get_course(CourseKey.from_string('MITx/edx4edx/edx4edx'))
    self.assertIsNone(course)
