Skip to content

Commit

Permalink
review @GitHK
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Sep 27, 2024
1 parent c01ef1d commit db4a6ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ class Config:
orm_mode = True


# class UserProjectAccessWithWork

__all__: tuple[str, ...] = (
"ProjectDict",
"ProjectProxy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,10 @@ async def test_close_project(
@pytest.mark.parametrize(
"user_role, expected",
[
# (UserRole.ANONYMOUS, status.HTTP_401_UNAUTHORIZED),
(UserRole.ANONYMOUS, status.HTTP_401_UNAUTHORIZED),
(UserRole.GUEST, status.HTTP_200_OK),
# (UserRole.USER, status.HTTP_200_OK),
# (UserRole.TESTER, status.HTTP_200_OK),
(UserRole.USER, status.HTTP_200_OK),
(UserRole.TESTER, status.HTTP_200_OK),
],
)
async def test_get_active_project(
Expand Down Expand Up @@ -1417,6 +1417,7 @@ async def test_open_shared_project_at_same_time(
num_assertions += 1
elif data:
project_status = ProjectState(**data.pop("state"))
data.pop("folderId")
assert data == shared_project
assert project_status.locked.value
assert project_status.locked.owner
Expand Down

0 comments on commit db4a6ee

Please sign in to comment.