Skip to content

Commit

Permalink
chore: rename the project pydantic-scim2
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed May 23, 2024
1 parent dc2068b commit 3775e4f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions pydanticscim2/responses.py → pydantic_scim2/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from pydantic import Discriminator
from pydantic import Tag

from pydanticscim2.group import Group
from pydanticscim2.resource_type import ResourceType
from pydanticscim2.service_provider import ServiceProviderConfiguration
from pydanticscim2.user import User
from pydantic_scim2.group import Group
from pydantic_scim2.resource_type import ResourceType
from pydantic_scim2.service_provider import ServiceProviderConfiguration
from pydantic_scim2.user import User


class SCIMError(BaseModel):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pydanticscim2/user.py → pydantic_scim2/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pydantic import EmailStr
from pydantic import Field

from pydanticscim2.group import GroupMember
from pydantic_scim2.group import GroupMember


class Name(BaseModel):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "scim-cli"
name = "pydantic_scim2"
version = "0.1.0"
description = "SCIM2 models for pydantic"
authors = ["Yaal Coop <[email protected]>"]
Expand Down Expand Up @@ -35,7 +35,7 @@ pytest-coverage = "^0.0"

[tool.coverage.run]
source = [
"pydanticscim2",
"pydantic_scim2",
"tests",
]
omit = [".tox/*"]
Expand Down
12 changes: 6 additions & 6 deletions tests/test_responses.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import pytest

from pydanticscim2.group import Group
from pydanticscim2.resource_type import ResourceType
from pydanticscim2.responses import ListResponse
from pydanticscim2.service_provider import ServiceProviderConfiguration
from pydanticscim2.user import User
from pydantic_scim2.group import Group
from pydantic_scim2.resource_type import ResourceType
from pydantic_scim2.responses import ListResponse
from pydantic_scim2.service_provider import ServiceProviderConfiguration
from pydantic_scim2.user import User


def test_user_response(minimal_user_payload):
Expand All @@ -22,7 +22,7 @@ def test_user_response(minimal_user_payload):

@pytest.mark.skip
def test_enterprise_user_response(enterprise_user_payload):
from pydanticscim.enterprise_user import EnterpriseUser
from pydantic_scim.enterprise_user import EnterpriseUser

payload = {
"totalResults": 1,
Expand Down

0 comments on commit 3775e4f

Please sign in to comment.