MCPcopy Index your code
hub / github.com/DeepL/deepl-python / init_character_limit

Method init_character_limit

tests/conftest.py:81–87  ·  view source on GitHub ↗

Instructs the mock server to initialize user accounts created by this session with given character limit.

(self, count)

Source from the content-addressed store, hash-verified

79 self.headers["mock-server-session-429-count"] = str(count)
80
81 def init_character_limit(self, count):
82 """Instructs the mock server to initialize user accounts created by
83 this session with given character limit."""
84 if self.is_mock_server:
85 self.headers["mock-server-session-init-character-limit"] = str(
86 count
87 )
88
89 def init_document_limit(self, count):
90 """Instructs the mock server to initialize user accounts created by

Callers 2

test_usage_overrunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected