from click.testing import CliRunner
from ServerCheck.cli import ping_servers


def test_ping_servers():
    # Test that the command can be called without error
    runner = CliRunner()
    command_result = runner.invoke(ping_servers)
    assert command_result.exit_code == 0



15260ec2c3cc3780510a3b8451cf030108cfd9b1
<mask token>

<mask token>


def test_ping_servers():
    runner = CliRunner()
    command_result = runner.invoke(ping_servers)
    assert command_result.exit_code == 0

from click.testing import CliRunner
from ServerCheck.cli import ping_servers


def test_ping_servers():
    runner = CliRunner()
    command_result = runner.invoke(ping_servers)
    assert command_result.exit_code == 0

from click.testing import CliRunner
from ServerCheck.cli import ping_servers


def test_ping_servers():
    # Test that the command can be called without error
    runner = CliRunner()
    command_result = runner.invoke(ping_servers)
    assert command_result.exit_code == 0


