'Verify that error output is actually resolved as the correct string'

def test_error_output(self):

    with self.assertRaisesRegexp(CommandError, unicode(GitExportError.BAD_COURSE)):
        call_command('git_export', 'foo/bar:baz', 'silly')
    with self.assertRaisesRegexp(CommandError, unicode(GitExportError.URL_BAD)):
        call_command('git_export', 'foo/bar/baz', 'silly')
