Move action expression sanitizer
This commit is contained in:
@@ -733,6 +733,25 @@ def smoke_row_expression_policy() -> None:
|
||||
== (None, "character_slots:disabled"),
|
||||
"Row expression cast override did not honor all-slot expression disable",
|
||||
)
|
||||
expression_text = "Woman A has steady focus; Man A has parted lips with saliva"
|
||||
context_role = "Woman A performs a handjob while Man A stands close"
|
||||
_expect(
|
||||
pb._sanitize_character_expression_text_for_action(expression_text, context_role, "", {})
|
||||
== row_expression.sanitize_character_expression_text_for_action(expression_text, context_role, "", {})
|
||||
== "Woman A has steady focus",
|
||||
"Row expression action sanitizer did not remove incompatible partner expression",
|
||||
)
|
||||
reverse_context = "Man A has mouth pressed to her pussy while Woman A lies back"
|
||||
_expect(
|
||||
row_expression.sanitize_character_expression_text_for_action(
|
||||
"Woman A has tongue out; Man A has focused mouth contact",
|
||||
reverse_context,
|
||||
"",
|
||||
{},
|
||||
)
|
||||
== "Man A has focused mouth contact",
|
||||
"Row expression action sanitizer did not remove incompatible visible-subject expression",
|
||||
)
|
||||
|
||||
|
||||
def smoke_row_item_policy() -> None:
|
||||
|
||||
Reference in New Issue
Block a user