MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / setUp

Method setUp

tests/test_auth_rotation_fixes.py:129–133  ·  view source on GitHub ↗

Clear rotation timestamps before each test.

(self)

Source from the content-addressed store, hash-verified

127 """Test the core logic of the auth rotation function"""
128
129 def setUp(self):
130 """Clear rotation timestamps before each test."""
131 from browser_utils import auth_rotation
132
133 auth_rotation._ROTATION_TIMESTAMPS.clear()
134
135 @patch(
136 "builtins.open",

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected