Refactored Command to add owner
This commit is contained in:
@@ -463,7 +463,7 @@ class TestPredicates:
|
||||
div = Div(hx_post="/url")
|
||||
assert HasHtmx(hx_post="/url").validate(div)
|
||||
|
||||
c = Command("c", "testing has_htmx", None)
|
||||
c = Command("c", "testing has_htmx", None, None)
|
||||
c.bind_ft(div)
|
||||
assert HasHtmx(command=c).validate(div)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user