Extract Insta pair cast context
This commit is contained in:
@@ -630,6 +630,8 @@ def _expect_pair(pair: dict[str, Any], name: str) -> None:
|
||||
_expect(pair.get("mode") == "Insta/OF", f"{name}.mode should be Insta/OF")
|
||||
_expect_row_base(pair.get("softcore_row") or {}, f"{name}.softcore_row")
|
||||
_expect_custom_row(pair.get("hardcore_row") or {}, f"{name}.hardcore_row")
|
||||
_expect_text(f"{name}.shared_descriptor", pair.get("shared_descriptor"), 12)
|
||||
_expect(pair.get("shared_cast_descriptors"), f"{name}.shared_cast_descriptors should not be empty")
|
||||
_expect_text(f"{name}.softcore_prompt", pair.get("softcore_prompt"), 20)
|
||||
_expect_text(f"{name}.hardcore_prompt", pair.get("hardcore_prompt"), 20)
|
||||
_expect_trigger_once(f"{name}.softcore_prompt", pair.get("softcore_prompt"), Trigger)
|
||||
@@ -662,6 +664,9 @@ def smoke_insta_pair() -> None:
|
||||
clothing_state = _clean_key(pair.get("hardcore_clothing_state"))
|
||||
_expect("body is fully exposed" in clothing_state, "explicit nude pair should keep body exposure state")
|
||||
_expect("teaser outfit detail" not in clothing_state, "explicit nude pair should not repeat softcore outfit detail")
|
||||
partner_styling = pair.get("softcore_partner_styling") or {}
|
||||
_expect(partner_styling.get("outfits"), "same-cast pair should keep partner softcore outfit styling")
|
||||
_expect_text("insta_pair_same_cast.partner_pose", partner_styling.get("pose"), 12)
|
||||
|
||||
|
||||
def smoke_krea_pair_clothing_state() -> None:
|
||||
|
||||
Reference in New Issue
Block a user