File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def test_tracks_duration_of(client: LDClient):
7272 assert calls [0 ].args [0 ] == '$ld:ai:duration:total'
7373 assert calls [0 ].args [1 ] == context
7474 assert calls [0 ].args [2 ] == {'variationKey' : 'variation-key' , 'configKey' : 'config-key' }
75- assert calls [0 ].args [3 ] == pytest .approx (10 )
75+ assert calls [0 ].args [3 ] == pytest .approx (10 , rel = 10 )
7676
7777
7878def test_tracks_duration_of_with_exception (client : LDClient ):
@@ -95,7 +95,7 @@ def sleep_and_throw():
9595 assert calls [0 ].args [0 ] == '$ld:ai:duration:total'
9696 assert calls [0 ].args [1 ] == context
9797 assert calls [0 ].args [2 ] == {'variationKey' : 'variation-key' , 'configKey' : 'config-key' }
98- assert calls [0 ].args [3 ] == pytest .approx (10 )
98+ assert calls [0 ].args [3 ] == pytest .approx (10 , rel = 10 )
9999
100100
101101def test_tracks_token_usage (client : LDClient ):
You can’t perform that action at this time.
0 commit comments