From 7914459ce866af67e5797e68a5d7dbc6b91e3aad Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 24 Feb 2024 15:42:47 +0200 Subject: [PATCH] testing: fix broken test `SshGateway` no longer exists. --- testing/test_xspec.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/testing/test_xspec.py b/testing/test_xspec.py index 2218e736..9fccc5b8 100644 --- a/testing/test_xspec.py +++ b/testing/test_xspec.py @@ -189,13 +189,7 @@ def test_popen_chdir_newsub(self, monkeypatch, tmp_path, makegateway): def test_ssh(self, specssh, makegateway): sshhost = specssh.ssh gw = makegateway("ssh=%s//id=ssh1" % sshhost) - rinfo = gw._rinfo() assert gw.id == "ssh1" - gw2 = execnet.SshGateway(sshhost) - rinfo2 = gw2._rinfo() - assert rinfo.executable == rinfo2.executable - assert rinfo.cwd == rinfo2.cwd - assert rinfo.version_info == rinfo2.version_info def test_vagrant(self, makegateway): vagrant_bin = shutil.which("vagrant")