chireiden / shanghai

Shanghai
GNU General Public License v3.0
4 stars 2 forks source link

Remove usages of unittest #37

Closed FichteFoll closed 8 years ago

FichteFoll commented 8 years ago

We should be using pytest everywhere. That includes

This makes things simpler (because of introspection), allows to use pytest.mark.parametrize and fixtures. Also self.assertRaisesRegex would fail in some certain situation.

Could use https://pypi.python.org/pypi/unittest2pytest/ for this.