def test_list_inquiries(self):
        """Test retrieval of a list of Inquiries"""
        args = ["inquiry", "list"]
        retcode = self.shell.run(args)
        self.assertEqual(retcode, 0)
        self.assertEqual(self.stdout.getvalue().count("1440"), 1)
Test retrieval of a list of Inquiries
st2client/tests/unit/test_inquiry.py