Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepL/deepl-python
/ test_usage
Function
test_usage
tests/test_general.py:106–108 ·
view source on GitHub ↗
(translator)
Source
from the content-addressed store, hash-verified
104
105
106
def
test_usage(translator):
107
usage = translator.get_usage()
108
assert
"Usage this billing period"
in str(usage)
109
110
111
def
test_language(translator):
Callers
nothing calls this directly
Calls
1
get_usage
Method · 0.80
Tested by
no test coverage detected