]> git.ipfire.org Git - thirdparty/patchwork.git/commit
py3: Remove all deprecated UnitTest calls
authorStephen Finucane <stephen.finucane@intel.com>
Sun, 29 Nov 2015 07:35:39 +0000 (07:35 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 3 Dec 2015 22:08:58 +0000 (22:08 +0000)
commit880d33e885f5bb2c7ede33b116b0638220597256
treed0f7b55dc81f56d86c8404849fdeffd7e7a7d1db
parente8a50c8c302875a83ee6c3e6d23ab9ee3fdf0596
py3: Remove all deprecated UnitTest calls

Remove the likes of 'failUnlessEqual' and 'assertEquals', which have
been deprecated and cause warnings in Django 1.6 with Python 3.4.

https://docs.python.org/2/library/unittest.html#deprecated-aliases

This allows us to remove an item from the TODO list.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
14 files changed:
docs/TODO
patchwork/tests/test_bundles.py
patchwork/tests/test_confirm.py
patchwork/tests/test_encodings.py
patchwork/tests/test_filters.py
patchwork/tests/test_mail_settings.py
patchwork/tests/test_notifications.py
patchwork/tests/test_patchparser.py
patchwork/tests/test_person.py
patchwork/tests/test_registration.py
patchwork/tests/test_tags.py
patchwork/tests/test_updates.py
patchwork/tests/test_user.py
patchwork/tests/test_user_browser.py