Skip to content

Failing tests for RawSocketServerProtocol #811

Open
@Jenselme

Description

@Jenselme

Hi,

I am in the process of updating autobahn to 0.18.1 for fedora and I encounter failing tests on the build server and on my system. Tests output:

=================================== FAILURES ===================================
_________________________ Test.test_raw_socket_server1 _________________________

self = <test_asyncio_rawsocket.Test testMethod=test_raw_socket_server1>

    def test_raw_socket_server1(self):
    
>       server = RawSocketServerProtocol(max_size=10000)
E       TypeError: __init__() got an unexpected keyword argument 'max_size'

autobahn/asyncio/test/test_asyncio_rawsocket.py:87: TypeError
______________________ Test.test_raw_socket_server_errors ______________________

self = <test_asyncio_rawsocket.Test testMethod=test_raw_socket_server_errors>

    def test_raw_socket_server_errors(self):
    
>       server = RawSocketServerProtocol(max_size=10000)
E       TypeError: __init__() got an unexpected keyword argument 'max_size'

autobahn/asyncio/test/test_asyncio_rawsocket.py:110: TypeError
=============== 2 failed, 161 passed, 1 skipped in 0.53 seconds ================

The tests are defined there and from what I see in the definition of RawSocketProtocol here the max_size parameter doesn't exist which expected. What I find strange is: according to travis everything is fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions