From b94da6106f090dd2e93cb8bdd4c1cec049f0fc21 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 5 Mar 2021 11:33:56 -0800 Subject: [PATCH] add test stub for a function to fetch the auth... This will run the special ssh command w/ the proxycommand. --- bitelab/__main__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bitelab/__main__.py b/bitelab/__main__.py index caa6b9f..d57d87d 100644 --- a/bitelab/__main__.py +++ b/bitelab/__main__.py @@ -388,6 +388,16 @@ class TestExecClient(unittest.IsolatedAsyncioTestCase): self.assertEqual(ret, 1) + @wsfwd.timeout(2) + async def test_getauth(self): + # that when the getauth command is run + + # that it runs the correct ssh command + cmd = [ 'ssh', '-o', 'ProxyCommand bitelab contssh', '-l', + 'lab', 'bitelab' ] + #assert False + # XXX - TBD + @wsfwd.timeout(2) async def test_contssh(self): class TestServer(wsfwd.WSFWDCommon):