Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
pylint now returns the number of billded characters, which we
need to mimick in the fake deepl api server
  • Loading branch information
david-venhoff committed Sep 30, 2024
1 parent 292425a commit 057e09b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/mt_api/deepl_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def setup_fake_deepl_api_server(mock_server: MockServer) -> None:
{
"detected_source_language": "DE",
"text": "This is your translation from DeepL",
"billed_characters": 0,
}
]
},
Expand Down

0 comments on commit 057e09b

Please sign in to comment.