def test_load_keyvalue_empty_file(self):
        """
        Loading K/V from an empty file shouldn't throw an error
        """
        fd, path = tempfile.mkstemp(suffix=".yaml")
        try:
            args = ["key", "load", path]
            retcode = self.shell.run(args)
            self.assertIn("No matching items found", self.stdout.getvalue())
            self.assertEqual(retcode, 0)
        finally:
            os.close(fd)
            os.unlink(path)

        Loading K/V from an empty file shouldn't throw an error
        
st2client/tests/unit/test_keyvalue.py