Skip to content

Commit

Permalink
xfail
Browse files Browse the repository at this point in the history
xfail
  • Loading branch information
scivision committed Sep 21, 2018
1 parent ae58142 commit 10be13b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ def test_script():

def test_mod():
servers = findssh.run()
assert isinstance(servers[0], ip.IPv4Address)
try:
assert isinstance(servers[0], ip.IPv4Address)
except IndexError:
pytest.xfail('no servers found')


if __name__ == '__main__':
Expand Down

0 comments on commit 10be13b

Please sign in to comment.