def test_get_inquiry_not_found(self):
        """Test retrieval of a inquiry that doesn't exist"""
        inquiry_id = "asdbv"
        args = ["inquiry", "get", inquiry_id]
        retcode = self.shell.run(args)
        self.assertEqual(
            'Inquiry "%s" is not found.\n\nERROR: Resource asdbv not found.\n\n'
            % inquiry_id,
            self.stdout.getvalue(),
        )
        self.assertEqual(retcode, 1)
Test retrieval of a inquiry that doesn't exist
st2client/tests/unit/test_inquiry.py