Used as shortcut to build success command result.

Signed-off-by: Yuto KAWAMURA(kawamuray) <[email protected]>
---
 test/py/ganeti.hypervisor.hv_lxc_unittest.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/py/ganeti.hypervisor.hv_lxc_unittest.py 
b/test/py/ganeti.hypervisor.hv_lxc_unittest.py
index b1cb884..6824308 100755
--- a/test/py/ganeti.hypervisor.hv_lxc_unittest.py
+++ b/test/py/ganeti.hypervisor.hv_lxc_unittest.py
@@ -32,6 +32,9 @@ from ganeti.hypervisor import hv_lxc
 import testutils
 
 
+def RunResultOk(stdout):
+  return utils.RunResult(0, None, stdout, "", [], None, None)
+
 class TestConsole(unittest.TestCase):
   def test(self):
     instance = objects.Instance(name="lxc.example.com",
-- 
1.8.5.5

Reply via email to