DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

2

Pytest and pytest-django ends up with assert error

I've been dealing with this for the last 30 mins and I just want to move on from it. Basically, the test returns Assertion Error:

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

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay