MCPcopy Create free account
hub / github.com/DeepL/deepl-python / init_document_limit

Method init_document_limit

tests/conftest.py:89–95  ·  view source on GitHub ↗

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

(self, count)

Source from the content-addressed store, hash-verified

87 )
88
89 def init_document_limit(self, count):
90 """Instructs the mock server to initialize user accounts created by
91 this session with given document limit."""
92 if self.is_mock_server:
93 self.headers["mock-server-session-init-document-limit"] = str(
94 count
95 )
96
97 def init_team_document_limit(self, count):
98 """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