Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
python-nxapi-plumbing
python-nxapi-plumbing-fix-broken-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-nxapi-plumbing-fix-broken-test.patch of Package python-nxapi-plumbing
diff --git a/test/test_show_jsonrpc.py b/test/test_show_jsonrpc.py index dc6b9ae..2034f5f 100644 --- a/test/test_show_jsonrpc.py +++ b/test/test_show_jsonrpc.py @@ -61,6 +61,7 @@ def test_show_list_jsonrpc(mock_pynxos_device): assert result_version["sys_ver_str"] == "7.3(1)D1(1) [build 7.3(1)D1(0.10)]" +@pytest.mark.skip(reason="br0ken with python3 - see: https://github.com/ktbyers/nxapi-plumbing/issues/11") def test_show_invalid_jsonrpc(mock_pynxos_device): """Execute an invalid command.""" with pytest.raises(NXAPICommandError) as e: diff --git a/test/test_show_xml.py b/test/test_show_xml.py index 2651595..4e076af 100644 --- a/test/test_show_xml.py +++ b/test/test_show_xml.py @@ -61,7 +61,7 @@ def test_show_list_xml(mock_pynxos_device_xml): assert code_obj.text == "200" assert response.text == "nxos.domain.com" - +@pytest.mark.skip(reason="br0ken with python3 - see: https://github.com/ktbyers/nxapi-plumbing/issues/11") def test_show_invalid_xml(mock_pynxos_device_xml): """Execute an invalid command.""" with pytest.raises(NXAPICommandError) as e:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor