Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywemo fails to build after libxml2 upgrade #124165

Closed
mweinelt opened this issue May 23, 2021 · 1 comment
Closed

pywemo fails to build after libxml2 upgrade #124165

mweinelt opened this issue May 23, 2021 · 1 comment
Assignees
Labels

Comments

@mweinelt
Copy link
Member

Describe the bug
After d01a4e3 pywemo fails a test.

_________________________ test_bridge_getdevicestatus __________________________

bridge = <WeMo Bridge "WeMo Device", Lights: 1, Groups: 0>

    @pytest.mark.vcr()
    def test_bridge_getdevicestatus(bridge):
        status = bridge.bridge_getdevicestatus(LIGHT_ID)
        expected = b''.join(
            [
                b'<DeviceStatus>',
                b'<IsGroupAction>NO</IsGroupAction>',
                b'<DeviceID available="YES">0017880108DA898B</DeviceID>',
                b'<CapabilityID>10006,10008,30008,30009,3000A</CapabilityID>',
                b'<CapabilityValue>0,255:0,,,</CapabilityValue>',
                b'<LastEventTimeStamp>0</LastEventTimeStamp>',
                b'</DeviceStatus>',
            ]
        )
>       assert et.tostring(status) == expected
E       AssertionError: assert b'<DeviceStat...ceStatusList>' == b'<DeviceStat...DeviceStatus>'
E         Use -v to get the full diff

tests/ouimeaux_device/test_bridge.py:53: AssertionError

To Reproduce
Steps to reproduce the behavior:

  1. nix-build -A python3Packages.pywemo

Notify maintainers
@fabaff

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: python3Packages.pywemo
# a list of nixos modules affected by the problem
module:
@mweinelt
Copy link
Member Author

Reported upstream here pywemo/pywemo#268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants