forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -12,7 +12,6 @@ from unshackle.core.api import download_manager as dm
|
||||
from unshackle.core.api import download_worker
|
||||
from unshackle.core.api.job_channel import WorkerResult
|
||||
from unshackle.core.config import config
|
||||
from unshackle.core.dl_options import DEFAULT_DOWNLOAD_PARAMS
|
||||
|
||||
PRESENT = [
|
||||
{
|
||||
@@ -56,11 +55,6 @@ def test_worker_takes_the_payload_scope_and_reports_already_present(monkeypatch,
|
||||
assert json.loads(progress.read_text())["already_present"] == PRESENT
|
||||
|
||||
|
||||
def test_api_options_default_off():
|
||||
assert DEFAULT_DOWNLOAD_PARAMS["skip_existing"] is False
|
||||
assert DEFAULT_DOWNLOAD_PARAMS["force"] is False
|
||||
|
||||
|
||||
def test_manager_uses_owner_scope_and_keeps_already_present_in_history(monkeypatch, tmp_path):
|
||||
payloads = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user