Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
86f5b0ad
Commit
86f5b0ad
authored
Jul 31, 2018
by
Jelle van der Waa
🚧
Browse files
In Python 3.2 assertItemsEqual is replaced by assertCountEqual
parent
93a95a3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
devel/tests/test_reporead.py
View file @
86f5b0ad
...
...
@@ -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
.
assert
Items
Equal
(
files
,
import_packages
)
self
.
assert
Count
Equal
(
files
,
import_packages
)
def
test_flagoutofdate
(
self
):
pkg
=
self
.
create_pkg
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment