Fix the spore test, as some functions were added by restjson
This commit is contained in:
parent
9605e9eaae
commit
0f5aeeedd5
@ -6,6 +6,7 @@ except ImportError:
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from wsme.tests.protocol import WSTestRoot
|
from wsme.tests.protocol import WSTestRoot
|
||||||
|
import wsme.tests.test_restjson
|
||||||
import wsme.spore
|
import wsme.spore
|
||||||
|
|
||||||
|
|
||||||
@ -17,7 +18,7 @@ class TestSpore(unittest.TestCase):
|
|||||||
|
|
||||||
spore = json.loads(spore)
|
spore = json.loads(spore)
|
||||||
|
|
||||||
assert len(spore['methods']) == 36, len(spore['methods'])
|
assert len(spore['methods']) == 40, str(len(spore['methods']))
|
||||||
|
|
||||||
m = spore['methods']['argtypes_setbytesarray']
|
m = spore['methods']['argtypes_setbytesarray']
|
||||||
assert m['path'] == '/argtypes/setbytesarray'
|
assert m['path'] == '/argtypes/setbytesarray'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user