Skip to content

Commit 751f78b

Browse files
mwaykoledbasunag
andauthored
Refactor maas billing moving dir in model_serving (#1215)
Signed-off-by: Milind waykole <mwaykole@redhat.com> Co-authored-by: Debarati Basu-Nag <dbasunag@redhat.com>
1 parent 46c50a4 commit 751f78b

17 files changed

+15
-15
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ tests/model_registry/ @dbasunag @lugi0 @fege
1616
tests/model_serving/ @mwaykole @Raghul-M @brettmthompson @threcc @rpancham @SB159
1717
tests/model_serving/model_runtime/ @Raghul-M @brettmthompson @rpancham
1818
tests/model_serving/model_server/ @threcc @mwaykole
19-
tests/model_serving/model_server/maas_billing/ @SB159
19+
tests/model_serving/maas_billing/ @SB159
2020
tests/rag/ @jgarciao @jiripetrlik
2121
tests/workbenches @jstourac @andyatmiami @jiridanek @harshad16

tests/model_serving/model_server/maas_billing/conftest.py renamed to tests/model_serving/maas_billing/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from simple_logger.logger import get_logger
2222
from timeout_sampler import TimeoutSampler
2323

24-
from tests.model_serving.model_server.maas_billing.utils import (
24+
from tests.model_serving.maas_billing.utils import (
2525
build_maas_headers,
2626
create_maas_group,
2727
detect_scheme_via_llmisvc,

tests/model_serving/model_server/maas_billing/maas_subscription/__init__.py renamed to tests/model_serving/maas_billing/maas_subscription/__init__.py

File renamed without changes.

tests/model_serving/model_server/maas_billing/maas_subscription/component_health/test_maas_api_health.py renamed to tests/model_serving/maas_billing/maas_subscription/component_health/test_maas_api_health.py

File renamed without changes.

tests/model_serving/model_server/maas_billing/maas_subscription/component_health/test_maas_controller_health.py renamed to tests/model_serving/maas_billing/maas_subscription/component_health/test_maas_controller_health.py

File renamed without changes.

tests/model_serving/model_server/maas_billing/maas_subscription/conftest.py renamed to tests/model_serving/maas_billing/maas_subscription/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
from pytest_testconfig import config as py_config
1414
from simple_logger.logger import get_logger
1515

16-
from tests.model_serving.model_server.maas_billing.maas_subscription.utils import (
16+
from tests.model_serving.maas_billing.maas_subscription.utils import (
1717
MAAS_SUBSCRIPTION_NAMESPACE,
1818
create_api_key,
1919
patch_llmisvc_with_maas_router_and_tiers,
2020
)
21-
from tests.model_serving.model_server.maas_billing.utils import build_maas_headers
21+
from tests.model_serving.maas_billing.utils import build_maas_headers
2222
from utilities.general import generate_random_name
2323
from utilities.infra import create_inference_token, create_ns, login_with_user_password
2424
from utilities.llmd_constants import ContainerImages, ModelStorage

tests/model_serving/model_server/maas_billing/maas_subscription/test_maas_auth_enforcement.py renamed to tests/model_serving/maas_billing/maas_subscription/test_maas_auth_enforcement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import requests
55
from simple_logger.logger import get_logger
66

7-
from tests.model_serving.model_server.maas_billing.maas_subscription.utils import (
7+
from tests.model_serving.maas_billing.maas_subscription.utils import (
88
chat_payload_for_url,
99
poll_expected_status,
1010
)
11-
from tests.model_serving.model_server.maas_billing.utils import build_maas_headers
11+
from tests.model_serving.maas_billing.utils import build_maas_headers
1212
from utilities.plugins.constant import RestHeader
1313

1414
LOGGER = get_logger(name=__name__)

tests/model_serving/model_server/maas_billing/maas_subscription/test_maas_sub_enforcement.py renamed to tests/model_serving/maas_billing/maas_subscription/test_maas_sub_enforcement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import requests
55
from simple_logger.logger import get_logger
66

7-
from tests.model_serving.model_server.maas_billing.maas_subscription.utils import chat_payload_for_url
7+
from tests.model_serving.maas_billing.maas_subscription.utils import chat_payload_for_url
88

99
LOGGER = get_logger(name=__name__)
1010

tests/model_serving/model_server/maas_billing/maas_subscription/test_multiple_subscriptions_per_model.py renamed to tests/model_serving/maas_billing/maas_subscription/test_multiple_subscriptions_per_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
from ocp_resources.service_account import ServiceAccount
1010
from simple_logger.logger import get_logger
1111

12-
from tests.model_serving.model_server.maas_billing.maas_subscription.utils import (
12+
from tests.model_serving.maas_billing.maas_subscription.utils import (
1313
chat_payload_for_url,
1414
create_maas_subscription,
1515
poll_expected_status,
1616
)
17-
from tests.model_serving.model_server.maas_billing.utils import build_maas_headers
17+
from tests.model_serving.maas_billing.utils import build_maas_headers
1818
from utilities.infra import create_inference_token, login_with_user_password
1919

2020
LOGGER = get_logger(name=__name__)

tests/model_serving/model_server/maas_billing/maas_subscription/utils.py renamed to tests/model_serving/maas_billing/maas_subscription/utils.py

File renamed without changes.

0 commit comments

Comments
 (0)