mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Config] Modify config's all methods to provide default values (#916)
* Add in functionality for Tobotimus * Cover all_guilds * Make it obvious * Fix auto rename of docstrings * Fix downloader docs warning
This commit is contained in:
@@ -37,7 +37,7 @@ def config(json_driver):
|
||||
unique_identifier=str(uuid.uuid4()),
|
||||
driver_spawn=json_driver)
|
||||
yield conf
|
||||
conf.defaults = {}
|
||||
conf._defaults = {}
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@@ -53,7 +53,7 @@ def config_fr(json_driver):
|
||||
force_registration=True
|
||||
)
|
||||
yield conf
|
||||
conf.defaults = {}
|
||||
conf._defaults = {}
|
||||
|
||||
|
||||
#region Dpy Mocks
|
||||
|
||||
Reference in New Issue
Block a user