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

Mock AWS with moto #52

Merged
merged 4 commits into from
Jun 20, 2024
Merged

Mock AWS with moto #52

merged 4 commits into from
Jun 20, 2024

Conversation

valenzuelaomar
Copy link
Collaborator

@valenzuelaomar valenzuelaomar commented Jun 18, 2024

Description

Mock AWS with moto
Team code pair session fixed cerbos issue!

7 failed, 78 passed!

===================================== short test summary info =====================================
FAILED tests/test_cascade_deletion.py::test_cascade_delete - assert 1 == 0
FAILED tests/test_error_handling.py::test_python_error - assert 'Unexpected error' in "Cannot query field 'uncaughtException' on type 'Query'."
FAILED tests/test_field_visibility.py::test_hidden_mutations - AssertionError: assert 'updateImmutableType' not in ['createFile', 'uploadFile', 'uploadTempor...
FAILED tests/test_field_visibility.py::test_update_fields - AssertionError: assert {'collectionI...ampleId', ...} == {'clearlabsEx... 'technology'}
FAILED tests/test_field_visibility.py::test_creation_fields - AssertionError: assert {'collectionI...oducingRunId'} == {'collectionI...oducingRunId'}
FAILED tests/test_file_mutations.py::test_create_file - TypeError: 'NoneType' object is not subscriptable
FAILED tests/test_file_mutations.py::test_delete_from_s3[nextgen/test1.fastq-False-True] - assert 'Contents' not in {'Contents': [{'ETag': '"2547f910ff4049633ff827bc8bf18765"', 'Key': '...
=========================== 7 failed, 78 passed, 751 warnings in 31.63s ===========================

@valenzuelaomar valenzuelaomar changed the title [valenzuelaomar/add-moto] Mock AWS with moto Mock AWS with moto Jun 20, 2024
@valenzuelaomar valenzuelaomar marked this pull request as ready for review June 20, 2024 18:57
@@ -65,7 +65,7 @@ codegen-tests: codegen ## Run tests
.PHONY: gha-setup
gha-setup: ## Set up the environment in CI
docker swarm init

touch test_app/.moto_recording
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add this file to the .dockerignore and .gitignore files as well?

@valenzuelaomar valenzuelaomar merged commit afabcd0 into main Jun 20, 2024
1 check failed
@valenzuelaomar valenzuelaomar deleted the valenzuelaomar/add-moto branch June 20, 2024 23:23
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.

None yet

2 participants