Added Downloader cog (#786)

This commit is contained in:
Will
2017-06-17 19:31:32 -04:00
committed by Twentysix
parent b12a41cd77
commit 53810b2262
16 changed files with 1461 additions and 1 deletions

View File

@@ -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(