pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors.

- seems the latest pytest breaks older packages relying on pkg_resources when defining a entrypoints plugins
- change the way we register plugins to be local only, this is what we need anyway
This commit is contained in:
RhodeCode Admin 2023-03-21 12:24:16 +01:00
parent 38d873cd45
commit e1d1da53b9
8 changed files with 209 additions and 268 deletions

View file

@ -27,7 +27,7 @@ from rhodecode.tests import TEST_USER_ADMIN_LOGIN, TEST_USER_REGULAR_LOGIN
from rhodecode.api.tests.utils import (
build_data, api_call, assert_error, assert_ok, crash, jsonify)
from rhodecode.tests.fixture import Fixture
from rhodecode.tests.plugin import plain_http_host_only_stub
from rhodecode.tests.fixture_mods.fixture_utils import plain_http_host_only_stub
fixture = Fixture()