Skip to content

Commit

Permalink
update script test
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 12, 2020
1 parent 1852ac2 commit 6f80043
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/findssh/tests/test_coro.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import pytest
import subprocess
import ipaddress
import sys
from pathlib import Path

import findssh
from findssh.runner import runner
Expand All @@ -12,12 +10,9 @@
SERVICE = ""
TIMEOUT = 1.0

R = Path(__file__).resolve().parents[1]


def test_script():
subprocess.check_call([sys.executable, "FindSSH.py"], cwd=str(R))
# str() for py35
subprocess.check_call(["FindSSH"])


def test_coroutine():
Expand Down

0 comments on commit 6f80043

Please sign in to comment.