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:
Suchintan 2026-07-08 15:08:02 -04:00 committed by GitHub
parent f339ff76da
commit 337c002595
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")