mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Added Downloader cog (#786)
This commit is contained in:
@@ -5,10 +5,18 @@ import pytest
|
||||
import random
|
||||
|
||||
from core.bot import Red
|
||||
from _pytest.monkeypatch import MonkeyPatch
|
||||
from core.drivers import red_json
|
||||
from core import Config
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def monkeysession(request):
|
||||
mpatch = MonkeyPatch()
|
||||
yield mpatch
|
||||
mpatch.undo()
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def json_driver(tmpdir_factory):
|
||||
driver = red_json.JSON(
|
||||
|
||||
Reference in New Issue
Block a user