test: fix broken test
This commit is contained in:
parent
8c1dd24955
commit
204548e4f2
1 changed files with 5 additions and 4 deletions
|
|
@ -87,6 +87,7 @@ class TestPersonView(WebTestCase):
|
|||
view = self.make_view()
|
||||
|
||||
# creating
|
||||
with patch.object(view, "creating", new=True):
|
||||
form = view.make_model_form()
|
||||
form.validated = {"first_name": "Barney", "last_name": "Rubble"}
|
||||
person = view.objectify(form)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue