From b12a25a816c8832506a87f7812713b75a8105fc8 Mon Sep 17 00:00:00 2001 From: Christophe de Vienne Date: Wed, 31 Oct 2012 12:23:31 +0100 Subject: [PATCH] Make DummyProtocol inherit from Protocol because it now needs a 'iter_routes' function --- wsme/tests/test_protocols.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wsme/tests/test_protocols.py b/wsme/tests/test_protocols.py index 075d5e4..e4d9e0b 100644 --- a/wsme/tests/test_protocols.py +++ b/wsme/tests/test_protocols.py @@ -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]