Fixes in tests and html escaping

This commit is contained in:
Antonio de la Rosa 2016-07-25 05:34:13 +02:00
parent 9e1e48e0e9
commit 61a2d53308
10 changed files with 77 additions and 22 deletions

View file

@ -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