websockets: fix actions on frames
This commit is contained in:
parent
1dc2fa0424
commit
2beae27541
|
@ -152,7 +152,7 @@ class WebsocketFrame(message.Message):
|
|||
|
||||
def resolve(self, settings, msg=None):
|
||||
return self.__class__(
|
||||
[i.resolve(settings, msg) for i in self.tokens]
|
||||
[i.resolve(settings, self) for i in self.tokens]
|
||||
)
|
||||
|
||||
def spec(self):
|
||||
|
|
|
@ -13,6 +13,7 @@ class TestWebsocketFrame:
|
|||
def test_values(self):
|
||||
specs = [
|
||||
"wf",
|
||||
"wf:dr",
|
||||
"wf:b'foo'",
|
||||
"wf:cbinary",
|
||||
"wf:c1",
|
||||
|
|
Loading…
Reference in New Issue