src/notes/tests/api/note.py
changeset 120 892980a3af09
parent 119 8ff8e2aee0f9
child 128 34a75bd8d0b9
equal deleted inserted replaced
119:8ff8e2aee0f9 120:892980a3af09
   202         self.assertEqual(2, json_resp['count'])
   202         self.assertEqual(2, json_resp['count'])
   203         self.assertEqual(2, len(json_resp['results']))
   203         self.assertEqual(2, len(json_resp['results']))
   204 
   204 
   205         for note_json in json_resp['results']:
   205         for note_json in json_resp['results']:
   206             self.assertEqual(str(self.session1.ext_id), note_json.get('session'))
   206             self.assertEqual(str(self.session1.ext_id), note_json.get('session'))
       
   207             self.assertIn('plain', note_json)
       
   208             self.assertIn('html', note_json)
       
   209             self.assertIn('raw', note_json)
   207 
   210 
   208 
   211 
   209     def test_root_note_list_modified(self):
   212     def test_root_note_list_modified(self):
   210 
   213 
   211         nexthour = \
   214         nexthour = \