Completed the register test so we have 100% of test coverage
This commit is contained in:
@@ -69,6 +69,9 @@ class TestController(unittest.TestCase):
|
|||||||
r = WSRoot()
|
r = WSRoot()
|
||||||
assert r.protocols['dummy']
|
assert r.protocols['dummy']
|
||||||
|
|
||||||
|
r = WSRoot(['dummy'])
|
||||||
|
assert r.protocols['dummy']
|
||||||
|
|
||||||
def test_scan_api(self):
|
def test_scan_api(self):
|
||||||
class NS(object):
|
class NS(object):
|
||||||
@expose(int)
|
@expose(int)
|
||||||
|
|||||||
Reference in New Issue
Block a user