Skip to content

cannot install on arch linux #6

Description

@EdLovecraft
======================================= test session starts ========================================
platform linux -- Python 3.8.0, pytest-5.2.4, py-1.8.0, pluggy-0.13.1
rootdir: /home/orwennes/.cache/yay/virshpatcher/src/virsh-patcher-1.0.0a1
collected 8 items                                                                                  

tests/test_error43.py ....                                                                   [ 50%]
tests/test_hostpassthrough.py .F                                                             [ 75%]
tests/test_hugepages.py ..                                                                   [100%]

============================================= FAILURES =============================================
____________________________________________ test_noop _____________________________________________

patcher = <virshpatcher.patcher.PatchHostPassthrough object at 0x7fbd7535d610>
patched_tree = <xml.etree.ElementTree.ElementTree object at 0x7fbd7535dcd0>, args = Namespace()

    def test_noop(patcher, patched_tree, args):
>       assert_noop(patcher, patched_tree, args)

tests/test_hostpassthrough.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

patcher = <virshpatcher.patcher.PatchHostPassthrough object at 0x7fbd7535d610>
tree = <xml.etree.ElementTree.ElementTree object at 0x7fbd7535dcd0>, args = Namespace()

    def assert_noop(patcher, tree, args):
        original = ET.tostring(tree.getroot())
    
        patcher.patch(tree, args)
    
        patched = ET.tostring(tree.getroot())
    
>       assert patched == original
E       AssertionError: assert b'<domain typ...ing></domain>' == b'<domain typ...ing></domain>'
E         At index 669 diff: b'm' != b'c'
E         Use -v to get the full diff

tests/conftest.py:52: AssertionError
=================================== 1 failed, 7 passed in 0.06s ====================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions