- procs[i] = self.proc_as_dict(i+1, post['title'],
- post['description'], post['effort'])
+ procs_expected[i] = self.proc_as_dict(i+1, post['title'],
+ post['description'],
+ post['effort'])
+ self.post_day(f'date={date}')
+ expected = self.get_day_dict(date)
+ expected['processes'] = self.as_id_list(procs_expected)
+ assert isinstance(expected['_library'], dict)
+ expected['_library']['Process'] = self.as_refs(procs_expected)
+ self.check_json_get(f'/day?date={date}', expected)
+ # post Todos of either process and check their display