'Test error for using an unknown user primary key'

def test_nonexistent_user_id(self):

    errstring = 'No    user    found    identified    by    99'
    with self.assertRaisesRegexp(CommandError, errstring):
        self.command.handle('org/course/name', '99')
