-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Asset: Update Real Time Feed API unit tests #2467
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gguuss
approved these changes
Oct 10, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, nice job! Thank you for the quick resolution!
platform linux -- Python 3.6.8, pytest-5.2.1, py-1.8.0, pluggy-0.13.0 -- /usr/local/google/home/class/temp/python-docs-samples/.nox/py36-sample-firestore-cloud-client/bin/python3.6
cachedir: .pytest_cache
rootdir: /usr/local/google/home/class/temp/python-docs-samples, inifile: pytest.ini
plugins: flaky-3.6.1, cov-2.8.1
collected 53 items
snippets_test.py::test_quickstart_new_instance PASSED [ 1%]
snippets_test.py::test_quickstart_add_data_two PASSED [ 3%]
snippets_test.py::test_quickstart_get_collection PASSED [ 5%]
snippets_test.py::test_quickstart_add_data_one PASSED [ 7%]
snippets_test.py::test_add_from_dict PASSED [ 9%]
snippets_test.py::test_add_data_types PASSED [ 11%]
snippets_test.py::test_add_example_data PASSED [ 13%]
snippets_test.py::test_add_custom_class_with_id PASSED [ 15%]
snippets_test.py::test_add_data_with_id PASSED [ 16%]
snippets_test.py::test_add_custom_class_generated_id PASSED [ 18%]
snippets_test.py::test_add_new_doc PASSED [ 20%]
snippets_test.py::test_get_simple_query PASSED [ 22%]
snippets_test.py::test_array_contains_filter PASSED [ 24%]
snippets_test.py::test_get_full_collection PASSED [ 26%]
snippets_test.py::test_get_custom_class PASSED [ 28%]
snippets_test.py::test_get_check_exists PASSED [ 30%]
snippets_test.py::test_structure_subcollection_ref PASSED [ 32%]
snippets_test.py::test_structure_collection_ref PASSED [ 33%]
snippets_test.py::test_structure_doc_ref_alternate PASSED [ 35%]
snippets_test.py::test_structure_doc_ref PASSED [ 37%]
snippets_test.py::test_update_create_if_missing PASSED [ 39%]
snippets_test.py::test_update_doc PASSED [ 41%]
snippets_test.py::test_update_doc_array PASSED [ 43%]
snippets_test.py::test_update_multiple PASSED [ 45%]
snippets_test.py::test_update_server_timestamp PASSED [ 47%]
snippets_test.py::test_update_data_transaction PASSED [ 49%]
snippets_test.py::test_update_data_transaction_result PASSED [ 50%]
snippets_test.py::test_update_data_batch PASSED [ 52%]
snippets_test.py::test_update_nested PASSED [ 54%]
snippets_test.py::test_compound_query_example PASSED [ 56%]
snippets_test.py::test_compound_query_valid_multi_clause PASSED [ 58%]
snippets_test.py::test_compound_query_simple PASSED [ 60%]
snippets_test.py::test_compound_query_invalid_multi_field PASSED [ 62%]
snippets_test.py::test_compound_query_single_clause PASSED [ 64%]
snippets_test.py::test_compound_query_valid_single_field PASSED [ 66%]
snippets_test.py::test_order_simple_limit PASSED [ 67%]
snippets_test.py::test_order_simple_limit_desc PASSED [ 69%]
snippets_test.py::test_order_multiple PASSED [ 71%]
snippets_test.py::test_order_where_limit PASSED [ 73%]
snippets_test.py::test_order_where_invalid PASSED [ 75%]
snippets_test.py::test_order_where_valid PASSED [ 77%]
snippets_test.py::test_cursor_simple_start_at PASSED [ 79%]
snippets_test.py::test_cursor_simple_end_at PASSED [ 81%]
snippets_test.py::test_snapshot_cursors PASSED [ 83%]
snippets_test.py::test_cursor_paginate PASSED [ 84%]
snippets_test.py::test_cursor_multiple_conditions PASSED [ 86%]
snippets_test.py::test_delete_single_doc PASSED [ 88%]
snippets_test.py::test_delete_field PASSED [ 90%]
snippets_test.py::test_listen_document PASSED [ 92%]
snippets_test.py::test_listen_multiple PASSED [ 94%]
snippets_test.py::test_listen_for_changes PASSED [ 96%]
snippets_test.py::test_delete_full_collection PASSED [ 98%]
snippets_test.py::test_collection_group_query SKIPPED [100%]
====================================================================================== warnings summary =======================================================================================
firestore/cloud-client/snippets_test.py::test_delete_full_collection
/usr/local/google/home/class/temp/python-docs-samples/firestore/cloud-client/snippets.py:804: DeprecationWarning: 'Query.get' is deprecated: please use 'Query.stream' instead.
docs = coll_ref.limit(batch_size).get()
-- Docs: https://docs.pytest.org/en/latest/warnings.html
--------------------------------------- generated xml file: /usr/local/google/home/class/temp/python-docs-samples/firestore/cloud-client/sponge_log.xml ---------------------------------------
========================================================================= 52 passed, 1 skipped, 1 warnings in 24.38s ==========================================================================
nox > Session py36(sample='./firestore/cloud-client') was successful.
Looks like I ran the wrong tests :/ |
But they're still passing:
|
arithmetic1728
pushed a commit
to googleapis/python-asset
that referenced
this pull request
Jul 31, 2020
…form/python-docs-samples#2467) * Add Real Time Feed API Sample Code * Update Real Time Feed API unit tests
busunkim96
pushed a commit
to googleapis/python-asset
that referenced
this pull request
Aug 4, 2020
…form/python-docs-samples#2467) * Add Real Time Feed API Sample Code * Update Real Time Feed API unit tests
engelke
pushed a commit
that referenced
this pull request
Nov 28, 2022
dandhlee
pushed a commit
that referenced
this pull request
Nov 29, 2022
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Oct 21, 2023
…form/python-docs-samples#2467) * Add Real Time Feed API Sample Code * Update Real Time Feed API unit tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We changed our feature recently, which need a pubsub topic to create resource.
Update the all CRUD tests.