mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
ci(SKY-12002): unbind pytest-shard critical path from two outlier tests (#7208)
Co-authored-by: Suchintan Singh <suchintan@skyvern.com>
This commit is contained in:
parent
f339ff76da
commit
337c002595
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ def test_truncate_short_string_returns_unchanged() -> None:
|
|||
def test_truncate_long_string_keeps_tail() -> None:
|
||||
from skyvern.utils.prompt_truncation import truncate_previous_extracted_information
|
||||
|
||||
value = "HEAD" + ("x" * 500_000) + "TAIL"
|
||||
value = "HEAD" + ("x" * 800) + "TAIL"
|
||||
result = truncate_previous_extracted_information(value, max_tokens=100)
|
||||
assert isinstance(result, str)
|
||||
assert result.endswith("TAIL")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue