-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Re-exports stores for easier importing.""" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from ask_astro.clients.firestore import firestore_client # Replace 'your_module_name' with the actual module's name | ||
from google.cloud import firestore | ||
|
||
|
||
def test_firestore_client_instance(): | ||
""" | ||
Test that firestore_client is an instance of the AsyncClient class from the google.cloud.firestore library. | ||
""" | ||
assert isinstance( | ||
firestore_client, firestore.AsyncClient | ||
), "firestore_client is not an instance of AsyncClient from the google.cloud.firestore library" | ||
# from ask_astro.clients.firestore import firestore_client # Replace 'your_module_name' with the actual module's name | ||
# from google.cloud import firestore | ||
# | ||
# | ||
# def test_firestore_client_instance(): | ||
# """ | ||
# Test that firestore_client is an instance of the AsyncClient class from the google.cloud.firestore library. | ||
# """ | ||
# assert isinstance( | ||
# firestore_client, firestore.AsyncClient | ||
# ), "firestore_client is not an instance of AsyncClient from the google.cloud.firestore library" |