mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
import pytest
|
||||
|
||||
from redbot.pytest.cog_manager import *
|
||||
from redbot.core import cog_manager
|
||||
from redbot.core import _cog_manager
|
||||
|
||||
|
||||
@pytest.mark.skip
|
||||
@@ -12,7 +12,7 @@ async def test_ensure_cogs_in_paths(cog_mgr, default_dir):
|
||||
assert cogs_dir in await cog_mgr.paths()
|
||||
|
||||
|
||||
async def test_install_path_set(cog_mgr: cog_manager.CogManager, tmpdir):
|
||||
async def test_install_path_set(cog_mgr: _cog_manager.CogManager, tmpdir):
|
||||
path = Path(str(tmpdir))
|
||||
await cog_mgr.set_install_path(path)
|
||||
assert await cog_mgr.install_path() == path
|
||||
|
||||
Reference in New Issue
Block a user