Move pair clothing wording policy
This commit is contained in:
@@ -41,6 +41,7 @@ import krea_cast # noqa: E402
|
||||
import krea_formatter # noqa: E402
|
||||
import location_config # noqa: E402
|
||||
import loop_nodes # noqa: E402
|
||||
import pair_clothing # noqa: E402
|
||||
import prompt_builder as pb # noqa: E402
|
||||
import pov_policy # noqa: E402
|
||||
import row_normalization # noqa: E402
|
||||
@@ -1645,6 +1646,41 @@ def smoke_pair_options_policy() -> None:
|
||||
pb.pair_options.hardcore_detail_directive("bad") == "",
|
||||
"invalid hardcore detail density directive should be empty",
|
||||
)
|
||||
_expect(
|
||||
"scattered clothes" not in pair_clothing.body_exposure_scene_text(
|
||||
"mirror corner, scattered clothes, outfit-check framing"
|
||||
),
|
||||
"Pair clothing body exposure scene cleanup should remove clothing clutter",
|
||||
)
|
||||
_expect(
|
||||
"creator-shot" in pair_clothing.body_exposure_scene_text("outfit-check framing"),
|
||||
"Pair clothing body exposure scene cleanup should replace outfit-check wording",
|
||||
)
|
||||
_expect(
|
||||
pair_clothing.softcore_outfit_sentence("Man A", "wears hoodie and joggers")
|
||||
== "Man A wears hoodie and joggers",
|
||||
"Pair clothing softcore outfit sentence formatting changed",
|
||||
)
|
||||
_expect(
|
||||
pair_clothing.hardcore_clothing_sentence("Woman A", "fully nude")
|
||||
== "Woman A's body is fully exposed, bare skin unobstructed",
|
||||
"Pair clothing hardcore fully nude sentence formatting changed",
|
||||
)
|
||||
_expect(
|
||||
pair_clothing.character_hardcore_clothing_entries(
|
||||
{
|
||||
"Woman A": {"hardcore_clothing": "fully nude"},
|
||||
"Man A": {"hardcore_clothing": "wears jeans"},
|
||||
},
|
||||
1,
|
||||
1,
|
||||
["Man A"],
|
||||
random.Random(1),
|
||||
lambda slot, _rng: str((slot or {}).get("hardcore_clothing") or ""),
|
||||
)
|
||||
== ["Woman A's body is fully exposed, bare skin unobstructed"],
|
||||
"Pair clothing character entries should skip POV labels",
|
||||
)
|
||||
options = json.loads(
|
||||
pb.build_insta_of_options_json(
|
||||
softcore_expression_enabled="false",
|
||||
|
||||
Reference in New Issue
Block a user