'Test passing an unparsable course id'

def test_invalid_location(self):

    errstring = 'Invalid    location    string'
    with self.assertRaisesRegexp(CommandError, errstring):
        self.command.handle('foo', 'bar')
