File tree 4 files changed +5
-5
lines changed 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
4
4
pytest-localserver >= 0.4.1
5
5
tox >= 3.6.0
6
6
7
- cachecontrol >= 0.12.4
7
+ cachecontrol >= 0.12.6
8
8
google-api-core [grpc ] >= 1.14.0 , < 2.0.0dev ; platform.python_implementation != 'PyPy'
9
9
google-api-python-client >= 1.7.8
10
10
google-cloud-firestore >= 1.4.0 ; platform.python_implementation != 'PyPy'
Original file line number Diff line number Diff line change 37
37
long_description = ('The Firebase Admin Python SDK enables server-side (backend) Python developers '
38
38
'to integrate Firebase into their services and applications.' )
39
39
install_requires = [
40
- 'cachecontrol>=0.12.4 ' ,
40
+ 'cachecontrol>=0.12.6 ' ,
41
41
'google-api-core[grpc] >= 1.14.0, < 2.0.0dev; platform.python_implementation != "PyPy"' ,
42
42
'google-api-python-client >= 1.7.8' ,
43
43
'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):
819
819
assert ref ._client .timeout == 60
820
820
assert ref .get () == {}
821
821
assert len (recorder ) == 1
822
- assert recorder [0 ]._extra_kwargs ['timeout' ] == 60
822
+ assert recorder [0 ]._extra_kwargs ['timeout' ] == pytest . approx ( 60 , 0.001 )
823
823
824
824
def test_app_delete (self ):
825
825
app = firebase_admin .initialize_app (
Original file line number Diff line number Diff line change @@ -1562,7 +1562,7 @@ def test_send(self):
1562
1562
msg = messaging .Message (topic = 'foo' )
1563
1563
messaging .send (msg )
1564
1564
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 )
1566
1566
1567
1567
def test_topic_management_timeout (self ):
1568
1568
self .fcm_service ._client .session .mount (
@@ -1574,7 +1574,7 @@ def test_topic_management_timeout(self):
1574
1574
)
1575
1575
messaging .subscribe_to_topic (['1' ], 'a' )
1576
1576
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 )
1578
1578
1579
1579
1580
1580
class TestSend (object ):
You can’t perform that action at this time.
0 commit comments