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):
72
72
assert calls [0 ].args [0 ] == '$ld:ai:duration:total'
73
73
assert calls [0 ].args [1 ] == context
74
74
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 )
76
76
77
77
78
78
def test_tracks_duration_of_with_exception (client : LDClient ):
@@ -95,7 +95,7 @@ def sleep_and_throw():
95
95
assert calls [0 ].args [0 ] == '$ld:ai:duration:total'
96
96
assert calls [0 ].args [1 ] == context
97
97
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 )
99
99
100
100
101
101
def test_tracks_token_usage (client : LDClient ):
You can’t perform that action at this time.
0 commit comments