Change in vdsm[master]: tests: fix integration tests

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Fri Apr 8 14:10:32 UTC 2016


Piotr Kliczewski has uploaded a new change for review.

Change subject: tests: fix integration tests
......................................................................

tests: fix integration tests


Change-Id: I98dfe4c863b2780f7d28b62a857e2fffa5f40acd
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M tests/integration/jsonRpcTests.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/71/55871/1

diff --git a/tests/integration/jsonRpcTests.py b/tests/integration/jsonRpcTests.py
index 530300e..ef0032d 100644
--- a/tests/integration/jsonRpcTests.py
+++ b/tests/integration/jsonRpcTests.py
@@ -54,6 +54,12 @@
                 (self.ping, 'ping'),
                 (self.slow_response, 'slow_response'))
 
+    def dispatch(self, method):
+        try:
+            return getattr(self, method)
+        except AttributeError:
+            raise JsonRpcMethodNotFoundError(method)
+
     def echo(self, text):
         self.log.info("ECHO: '%s'", text)
         return text


-- 
To view, visit https://gerrit.ovirt.org/55871
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98dfe4c863b2780f7d28b62a857e2fffa5f40acd
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>


More information about the vdsm-patches mailing list