mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-22 06:12:21 +03:00
Refactor import paths to use the 'src' directory structure and remove unused workflow inputs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import logging
|
||||
from tests.dummy_config import DummyConfig
|
||||
from ytplaylist.manager import PlaylistManager
|
||||
from src.manager import PlaylistManager
|
||||
|
||||
|
||||
def test_manager_warns_and_sleeps(monkeypatch, caplog):
|
||||
@@ -11,7 +11,7 @@ def test_manager_warns_and_sleeps(monkeypatch, caplog):
|
||||
slept["called"] = True
|
||||
|
||||
# monkeypatch the sleep used inside the manager module
|
||||
monkeypatch.setattr("ytplaylist.manager.time.sleep", fake_sleep)
|
||||
monkeypatch.setattr("src.manager.time.sleep", fake_sleep)
|
||||
|
||||
caplog.set_level(logging.WARNING)
|
||||
cfg = DummyConfig()
|
||||
|
||||
Reference in New Issue
Block a user