Skip to content

test_existing_switch is failing while testing datalad/datalad #791

@yarikoptic

Description

@yarikoptic
=================================== FAILURES ===================================
_____________________________ test_existing_switch _____________________________

existing_dataset = Dataset('/tmp/pytest-of-runner/pytest-0/dataset18')
credman = <datalad_next.credman.manager.CredentialManager object at 0x7f3073e48d60>
webdav_credential = {'name': 'dltest-my&=webdav', 'secret': 'secure', 'type': 'user_password', 'user': 'datalad'}
webdav_server = <datalad_next.tests.utils.WebDAVPath object at 0x7f3073f93a00>
no_result_rendering = None

    def test_existing_switch(existing_dataset, credman, webdav_credential,
                             webdav_server, no_result_rendering):
        credman.set(**webdav_credential)
>       check_existing_switch(existing_dataset, webdav_credential, webdav_server)

/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/datalad_next/commands/tests/test_create_sibling_webdav.py:291: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/datalad_next/commands/tests/test_create_sibling_webdav.py:435: in check_existing_switch
    assert_in(new_root / '3f7', remote_content)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

first = PosixPath('/tmp/pytest-of-runner/pytest-0/webdav3/reconfigure/3f7')
second = [], msg = None

    def assert_in(first, second, msg=None):
        if msg is None:
>           assert first in second
E           AssertionError

../datalad/tests/utils_pytest.py:102: AssertionError

https://github.com/datalad/datalad/actions/runs/21095314274/job/60671976475

I will just try to skip there for now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions