Use assertEqual from unittest instead of == in tests.
mansimarkaur opened this issue · comments
It's better to use the unittest module instead of going for assert and == while testing.
I don't understand why.
I use pytest for all my tests, not unittest, and these asserts are kind of regular thing for pytest testing framework. Please see the first example on pytest page: http://docs.pytest.org/en/latest/