Skip to content

Commit

Permalink
update unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft committed May 14, 2024
1 parent d673269 commit 9b21837
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/autorest.python/test/unittests/test_m2r.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from autorest.m2r import M2R
from pygen.m2r import M2R


_MD_LINK = "[inline link](https://github.com/Azure/autorest.python)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from autorest.preprocess import PreProcessPlugin
from autorest.preprocess.python_mappings import PadType
from pygen.preprocess import PreProcessPlugin
from pygen.preprocess.python_mappings import PadType


def pad_reserved_words(name: str, pad_type: PadType) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------

import pytest
from autorest.codegen.models import (
from pygen.codegen.models import (
Operation,
LROOperation,
PagingOperation,
Expand All @@ -15,8 +15,8 @@
RequestBuilder,
Client,
)
from autorest.codegen.models.parameter_list import RequestBuilderParameterList
from autorest.codegen.models.primitive_types import StringType
from pygen.codegen.models.parameter_list import RequestBuilderParameterList
from pygen.codegen.models.primitive_types import StringType


@pytest.fixture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from autorest.codegen.models import Parameter, AnyType, CodeModel, StringType
from autorest.codegen.models.parameter_list import ParameterList
from pygen.codegen.models import Parameter, AnyType, CodeModel, StringType
from pygen.codegen.models.parameter_list import ParameterList


def get_code_model():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# license information.
# --------------------------------------------------------------------------

from autorest.codegen.models import CodeModel, DPGModelType
from pygen.codegen.models import CodeModel, DPGModelType


def get_code_model():
Expand Down

0 comments on commit 9b21837

Please sign in to comment.