Passed
Pull Request — master (#14)
by
unknown
01:05
created

TestCapabilities.test_get_capabilities()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
from .base import BaseTestCase
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