Move pair detail density policy
This commit is contained in:
@@ -1597,6 +1597,26 @@ def smoke_pair_options_policy() -> None:
|
||||
pb.INSTA_OF_SOFTCORE_OUTFITS is pb.pair_options.INSTA_OF_SOFTCORE_OUTFITS,
|
||||
"prompt_builder should delegate Insta/OF softcore outfit policy to pair_options",
|
||||
)
|
||||
_expect(
|
||||
pb.HARDCORE_DETAIL_DENSITY_CHOICES is pb.pair_options.HARDCORE_DETAIL_DENSITY_CHOICES,
|
||||
"prompt_builder should delegate hardcore detail density choices to pair_options",
|
||||
)
|
||||
_expect(
|
||||
pb.pair_options.hardcore_detail_directive("compact").startswith("Use one compact"),
|
||||
"compact hardcore detail density should have a compact directive",
|
||||
)
|
||||
_expect(
|
||||
pb.pair_options.hardcore_detail_directive("dense").startswith("Use dense"),
|
||||
"dense hardcore detail density should have a dense directive",
|
||||
)
|
||||
_expect(
|
||||
pb.pair_options.hardcore_detail_directive("balanced") == "",
|
||||
"balanced hardcore detail density should not add a directive",
|
||||
)
|
||||
_expect(
|
||||
pb.pair_options.hardcore_detail_directive("bad") == "",
|
||||
"invalid hardcore detail density directive should be empty",
|
||||
)
|
||||
options = json.loads(
|
||||
pb.build_insta_of_options_json(
|
||||
softcore_expression_enabled="false",
|
||||
|
||||
Reference in New Issue
Block a user