Commits

danjac  committed 9d048e4

moar tests

  • Participants
  • Parent commits 4f0188d

Comments (0)

Files changed (1)

File tests/test_models.py

         d = self.post.json
         assert d['title'] == self.post.title
 
-        json = Post.query.jsonify()
+        json = list(Post.query.jsonify())
 
         assert json[0]['title'] == self.post.title