Make DummyProtocol inherit from Protocol because it now needs a 'iter_routes' function
This commit is contained in:
parent
d3b6268720
commit
b12a25a816
@ -3,11 +3,11 @@
|
||||
import unittest
|
||||
|
||||
from wsme import WSRoot
|
||||
from wsme.protocols import getprotocol, CallContext
|
||||
from wsme.protocols import getprotocol, CallContext, Protocol
|
||||
import wsme.protocols
|
||||
|
||||
|
||||
class DummyProtocol(object):
|
||||
class DummyProtocol(Protocol):
|
||||
name = 'dummy'
|
||||
content_types = ['', None]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user