for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from .base import BaseTestCase, NEXTCLOUD_VERSION
class TestCapabilities(BaseTestCase):
def test_get_capabilities(self):
res = self.nxc.get_capabilities()
assert res['ocs']['meta']['statuscode'] == self.SUCCESS_CODE
assert str(res['ocs']['data']['version']['major']) == NEXTCLOUD_VERSION