Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: cloud storage #1520

Merged
merged 20 commits into from
Oct 9, 2023
Merged

refactor: cloud storage #1520

merged 20 commits into from
Oct 9, 2023

Conversation

Jonas1312
Copy link
Contributor

No description provided.

@Jonas1312 Jonas1312 changed the title refac: refac: cloud storage Oct 4, 2023
@Jonas1312 Jonas1312 changed the title refac: cloud storage refactor: cloud storage Oct 4, 2023
@Jonas1312 Jonas1312 marked this pull request as ready for review October 5, 2023 08:23
@Jonas1312 Jonas1312 requested a review from a team October 5, 2023 08:23
src/kili/use_cases/cloud_storage/__init__.py Outdated Show resolved Hide resolved
tests/integration/presentation/test_cloud_storage.py Outdated Show resolved Hide resolved
tests/integration/presentation/test_cloud_storage.py Outdated Show resolved Hide resolved
tests/integration/presentation/test_cloud_storage.py Outdated Show resolved Hide resolved
src/kili/presentation/client/cloud_storage.py Show resolved Hide resolved
@PierreLeveau PierreLeveau self-requested a review October 5, 2023 12:49
@Jonas1312 Jonas1312 marked this pull request as draft October 5, 2023 15:40
@Jonas1312 Jonas1312 marked this pull request as ready for review October 6, 2023 09:38
graphql_client: GraphQLClient, http_client: HttpClient
):
# Given
gateway = KiliAPIGateway(graphql_client, http_client)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use the conftest fixture here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not here because we are testing at the gateway level, so we need to mock the layer below it (graphql client)

@Jonas1312 Jonas1312 merged commit 57b7295 into main Oct 9, 2023
12 checks passed
@Jonas1312 Jonas1312 deleted the refac/cloud branch October 9, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants