Fix test: sort when comparing file collection
This commit is contained in:
parent
9ea986a569
commit
51a61cf02d
@ -85,7 +85,7 @@ def test_available_languages(tmpdir, monkeypatch):
|
||||
monkeypatch.setattr(dictcli, 'language_list_from_api', lambda: [
|
||||
(lang.code, lang.remote_filename) for lang in langs()
|
||||
])
|
||||
assert dictcli.available_languages() == [
|
||||
assert sorted(dictcli.available_languages()) == [
|
||||
dictcli.Language(
|
||||
'af-ZA', 'Afrikaans (South Africa)',
|
||||
'af-ZA-3-0', None),
|
||||
|
Loading…
Reference in New Issue
Block a user