File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pytest-cov >= 2.4.0
44pytest-localserver >= 0.4.1
55tox >= 3.6.0
66
7- cachecontrol >= 0.12.4
7+ cachecontrol >= 0.12.6
88google-api-core [grpc ] >= 1.14.0 , < 2.0.0dev ; platform.python_implementation != 'PyPy'
99google-api-python-client >= 1.7.8
1010google-cloud-firestore >= 1.4.0 ; platform.python_implementation != 'PyPy'
Original file line number Diff line number Diff line change 3737long_description = ('The Firebase Admin Python SDK enables server-side (backend) Python developers '
3838 'to integrate Firebase into their services and applications.' )
3939install_requires = [
40- 'cachecontrol>=0.12.4 ' ,
40+ 'cachecontrol>=0.12.6 ' ,
4141 'google-api-core[grpc] >= 1.14.0, < 2.0.0dev; platform.python_implementation != "PyPy"' ,
4242 'google-api-python-client >= 1.7.8' ,
4343 'google-cloud-firestore>=1.4.0; platform.python_implementation != "PyPy"' ,
Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ def test_http_timeout(self):
819819 assert ref ._client .timeout == 60
820820 assert ref .get () == {}
821821 assert len (recorder ) == 1
822- assert recorder [0 ]._extra_kwargs ['timeout' ] == 60
822+ assert recorder [0 ]._extra_kwargs ['timeout' ] == pytest . approx ( 60 , 0.001 )
823823
824824 def test_app_delete (self ):
825825 app = firebase_admin .initialize_app (
Original file line number Diff line number Diff line change @@ -1562,7 +1562,7 @@ def test_send(self):
15621562 msg = messaging .Message (topic = 'foo' )
15631563 messaging .send (msg )
15641564 assert len (self .recorder ) == 1
1565- assert self .recorder [0 ]._extra_kwargs ['timeout' ] == 4
1565+ assert self .recorder [0 ]._extra_kwargs ['timeout' ] == pytest . approx ( 4 , 0.001 )
15661566
15671567 def test_topic_management_timeout (self ):
15681568 self .fcm_service ._client .session .mount (
@@ -1574,7 +1574,7 @@ def test_topic_management_timeout(self):
15741574 )
15751575 messaging .subscribe_to_topic (['1' ], 'a' )
15761576 assert len (self .recorder ) == 1
1577- assert self .recorder [0 ]._extra_kwargs ['timeout' ] == 4
1577+ assert self .recorder [0 ]._extra_kwargs ['timeout' ] == pytest . approx ( 4 , 0.001 )
15781578
15791579
15801580class TestSend (object ):
You can’t perform that action at this time.
0 commit comments