Privatize APIs by renaming or removing them from __all__ (#6021)

This commit is contained in:
Jakub Kuczys
2023-04-17 23:44:33 +02:00
committed by GitHub
parent eafbb06756
commit f051eae92d
126 changed files with 508 additions and 157 deletions

View File

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