Browse Source

add test stub for a function to fetch the auth...

This will run the special ssh command w/ the proxycommand.
main
John-Mark Gurney 3 years ago
parent
commit
b94da6106f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      bitelab/__main__.py

+ 10
- 0
bitelab/__main__.py View File

@@ -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):


Loading…
Cancel
Save