'Check content of export file.'

def check_export_file(self, tar_file, course_key):

    names = tar_file.getnames()
    dirname = '{0.org}-{0.course}-{0.run}'.format(course_key)
    self.assertIn(dirname, names)
    self.assertIn('{}/about'.format(dirname), names)
    self.assertIn('{}/about/overview.html'.format(dirname), names)
    self.assertIn('{}/assets/assets.xml'.format(dirname), names)
    self.assertIn('{}/policies'.format(dirname), names)
