Commit 86f5b0ad authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

In Python 3.2 assertItemsEqual is replaced by assertCountEqual

parent 93a95a3c
......@@ -58,7 +58,7 @@ def test_read_packages(self):
packages = Package.objects.all()
import_packages = ["{}-{}-{}".format(pkg.pkgname, pkg.pkgver, pkg.pkgrel) for pkg in packages]
self.assertItemsEqual(files, import_packages)
self.assertCountEqual(files, import_packages)
def test_flagoutofdate(self):
pkg = self.create_pkg()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment