pytest和pytest-django最终出现断言错误
#python #django #帮助

过去30分钟我一直在处理这个问题,我只想从中继续前进。基本上,测试返回断言错误:

 E       AssertionError: assert {} == {'rant': 'Kulugo', 'slug': 'apostrophe'}
E         Right contains 2 more items
E         {'rant': 'Kulugo', 'slug': 'apostrophe'}
E         Full diff:
E         -