tests: fixed test suite for celery adoption
This commit is contained in:
parent
840634c16f
commit
1d5d2c0155
209 changed files with 5248 additions and 5275 deletions
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
# Copyright (C) 2010-2023 RhodeCode GmbH
|
||||
# Copyright (C) 2010-2024 RhodeCode GmbH
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License, version 3
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ from rhodecode.model.db import Gist
|
|||
from rhodecode.model.gist import GistModel
|
||||
from rhodecode.api.tests.utils import (
|
||||
build_data, api_call, assert_error, assert_ok, crash)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("testuser_api", "app")
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ from rhodecode.model.user import UserModel
|
|||
from rhodecode.tests import TEST_USER_ADMIN_LOGIN
|
||||
from rhodecode.api.tests.utils import (
|
||||
build_data, api_call, assert_ok, assert_error, crash)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
from rhodecode.lib.ext_json import json
|
||||
from rhodecode.lib.str_utils import safe_str
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ from rhodecode.model.user import UserModel
|
|||
from rhodecode.tests import TEST_USER_ADMIN_LOGIN
|
||||
from rhodecode.api.tests.utils import (
|
||||
build_data, api_call, assert_ok, assert_error, crash)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
|
||||
|
||||
fixture = Fixture()
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ from rhodecode.tests import (
|
|||
TEST_USER_ADMIN_LOGIN, TEST_USER_REGULAR_EMAIL)
|
||||
from rhodecode.api.tests.utils import (
|
||||
build_data, api_call, assert_ok, assert_error, jsonify, crash)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
from rhodecode.model.db import RepoGroup
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ from rhodecode.model.user import UserModel
|
|||
from rhodecode.model.user_group import UserGroupModel
|
||||
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.fixtures.rc_fixture import Fixture
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("testuser_api", "app")
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ from rhodecode.model.user import UserModel
|
|||
from rhodecode.tests import TEST_USER_ADMIN_LOGIN
|
||||
from rhodecode.api.tests.utils import (
|
||||
build_data, api_call, assert_error, assert_ok, crash)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
|
||||
|
||||
fixture = Fixture()
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ from rhodecode.model.scm import ScmModel
|
|||
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.fixture_mods.fixture_utils import plain_http_host_only_stub
|
||||
from rhodecode.tests.fixtures.rc_fixture import Fixture
|
||||
from rhodecode.tests.fixtures.fixture_utils import plain_http_host_only_stub
|
||||
|
||||
fixture = Fixture()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue