'Create a log entry and make sure it exists'

def test_gitlogs(self):

    self._setstaff_login()
    self._mkdir(settings.GIT_REPO_DIR)
    self._add_edx4edx()
    response = self.client.get(reverse('gitlogs'))
    self.assertIn('/gitlogs/MITx/edx4edx/edx4edx', response.content)
    response = self.client.get(reverse('gitlogs_detail', kwargs={'course_id': 'MITx/edx4edx/edx4edx'}))
    self.assertIn('======&gt;    IMPORTING    course', response.content)
    self._rm_edx4edx()
