Michal Skrivanek has posted comments on this change.
Change subject: tests: vdsProxy remove need to duplicate api ......................................................................
Patch Set 3:
(2 comments)
.................................................... Commit Message Line 3: AuthorDate: 2013-08-22 13:41:33 +0200 Line 4: Commit: Martin Polednik mpoledni@redhat.com Line 5: CommitDate: 2013-08-26 09:01:30 +0200 Line 6: Line 7: tests: vdsProxy remove need to duplicate api better phrasing would make it more understandable... Line 8: Line 9: Currently, every API call to be made has to be appended to utils.py in Line 10: order to be accessible by vdsProxy instance, this patch removes this Line 11: need for calls where only status and msg return values are relevant and
.................................................... File tests/functional/utils.py Line 134: Line 135: def __getattr__(self, attr): Line 136: """ Line 137: When accessing nonexistant attribute it is looked up in self.vdscli Line 138: and ussual tuple typo Line 139: (result['status']['code'], result['status']['message']) Line 140: is returned Line 141: """ Line 142: if hasattr(self.vdscli, attr):