Changeset View
Changeset View
Standalone View
Standalone View
swh/icinga_plugins/tests/test_deposit.py
Show All 9 Lines | |||||
from click.testing import CliRunner | from click.testing import CliRunner | ||||
import pytest | import pytest | ||||
from swh.icinga_plugins.cli import cli | from swh.icinga_plugins.cli import cli | ||||
from .web_scenario import WebScenario | from .web_scenario import WebScenario | ||||
BASE_URL = 'mock://swh-deposit.example.org/1' | BASE_URL = 'http://swh-deposit.example.org/1' | ||||
COMMON_OPTIONS = [ | COMMON_OPTIONS = [ | ||||
'--server', BASE_URL, | '--server', BASE_URL, | ||||
'--username', 'test', | '--username', 'test', | ||||
'--password', 'test', | '--password', 'test', | ||||
'--collection', 'testcol', | '--collection', 'testcol', | ||||
] | ] | ||||
▲ Show 20 Lines • Show All 349 Lines • Show Last 20 Lines |