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

cannot install on arch linux #6

Open
EdLovecraft opened this issue Nov 24, 2019 · 2 comments
Open

cannot install on arch linux #6

EdLovecraft opened this issue Nov 24, 2019 · 2 comments

Comments

@EdLovecraft
Copy link

======================================= 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 ====================================
@Silur
Copy link

Silur commented Dec 7, 2019

same issue on x64 arch.
As a temporary workaround I commented the line python setup.py pytest out from check() in the PKGBUILD

@thejacer87
Copy link

got the same error, the fix in #6 (comment) worked for me

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

No branches or pull requests

3 participants