Fixes in tests and html escaping
This commit is contained in:
parent
9e1e48e0e9
commit
61a2d53308
10 changed files with 77 additions and 22 deletions
|
|
@ -79,7 +79,7 @@ class TestWebModelMethods(unittest.TestCase):
|
|||
|
||||
print('Select and save in an array')
|
||||
|
||||
self.assertEqual(model.select_to_array(['title', 'content']), {1: {'title': 'Example title Updated', 'content': 'New content Updated'}})
|
||||
self.assertEqual(model.select_to_array(['title', 'content']), [{'id': 1, 'title': 'Example title Updated', 'content': 'New content Updated'}])
|
||||
|
||||
model.yes_reset_conditions=True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue