Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ipyparallel/shellcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import sys
from argparse import ArgumentParser

from .cluster.shellcmd import ShellCommandReceive
from .cluster.shellcmd_receive import ShellCommandReceive


def main():
Expand Down
6 changes: 6 additions & 0 deletions ipyparallel/tests/test_shellcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@
]


def test_shellcmd_module_import():
import ipyparallel.shellcmd

assert callable(ipyparallel.shellcmd.main)


@pytest.fixture
def shellcmd_test_cmd():
"""returns a command that runs for 5 seconds"""
Expand Down