mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
Black tests and setup.py (#1657)
This commit is contained in:
@@ -4,9 +4,11 @@ import pytest
|
||||
@pytest.fixture()
|
||||
def bank(config):
|
||||
from redbot.core import Config
|
||||
|
||||
Config.get_conf = lambda *args, **kwargs: config
|
||||
|
||||
from redbot.core import bank
|
||||
|
||||
bank._register_defaults()
|
||||
return bank
|
||||
|
||||
|
||||
Reference in New Issue
Block a user