Ali Afshar avatar Ali Afshar committed ea6f95d

Fixed SSH test in order to throw away

Comments (0)

Files changed (3)



-def pytest_addoption(parser):
-    """ add command line options. """
-    parser.addoption("--ssh", action="store", default=None)


-from py.test import raises, skip, config
+from py.test import raises, mark, config
 import os
     assert code == 0
+@mark.skipif('1') # XXX Fix this test to be proper
 def test_execute_execnet_ssh(queue):
-    if config.option.ssh is None:
-        skip("specify ssh host with --ssh")
-    q = queue('foo ssh=%s:\n echo 1' % config.option.ssh, 'foo')
+    q = queue('foo\n echo 1', 'foo')
     node = q.get()
     out, code = node()
     assert out == '1'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.