| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from .base import BaseTestCase, NEXTCLOUD_VERSION |
||
| 2 | |||
| 3 | |||
| 4 | class TestCapabilities(BaseTestCase): |
||
| 5 | |||
| 6 | def test_get_capabilities(self): |
||
| 7 | res = self.nxc.get_capabilities() |
||
| 8 | assert res['ocs']['meta']['statuscode'] == self.SUCCESS_CODE |
||
| 9 | assert str(res['ocs']['data']['version']['major']) == NEXTCLOUD_VERSION |
||
| 10 |