fizyk / pyramid_localize

Package to provide translation methods for pyramid, and means to reload translations without stopping the application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/