diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-15 18:47:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-15 18:47:13 +0100 |
commit | 16125d4aaddda503468639d3632e79aecaa46839 (patch) | |
tree | 70c9e225c69e67bea6e174d1772d881bc572efca /tests | |
parent | 23aed48b4c43cc7373d84054b43b607cc9b6e0fb (diff) | |
download | gemato-16125d4aaddda503468639d3632e79aecaa46839.tar.gz |
profile: Ignore all metadata/timestamp* files
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_profile.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/test_profile.py b/tests/test_profile.py index 0a7e4d9..bf4156f 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -67,10 +67,6 @@ class EbuildRepositoryTests(TempDirTestCase): 'metadata/layout.conf': 'DATA', 'metadata/projects.xml': 'DATA', 'metadata/pkg_desc_index': 'DATA', - 'metadata/timestamp': 'DATA', - 'metadata/timestamp.chk': 'DATA', - 'metadata/timestamp.commit': 'DATA', - 'metadata/timestamp.x': 'DATA', 'metadata/dtd/foo.dtd': 'DATA', 'metadata/glsa/glsa-202001-01.xml': 'DATA', 'metadata/install-qa-check.d/50foo': 'DATA', @@ -95,12 +91,21 @@ class EbuildRepositoryTests(TempDirTestCase): 'profiles/desc/foo.desc': 'DATA', 'profiles/updates/1Q-2020': 'DATA', } - FILES = dict.fromkeys(EXPECTED_TYPES, u'') + FILES = dict.fromkeys(list(EXPECTED_TYPES) + [ + 'metadata/timestamp', + 'metadata/timestamp.chk', + 'metadata/timestamp.commit', + 'metadata/timestamp.x', + ], u'') EXPECTED_IGNORE = [ 'distfiles', 'local', 'packages', + 'metadata/timestamp', + 'metadata/timestamp.chk', + 'metadata/timestamp.commit', + 'metadata/timestamp.x', ] def test_get_entry_type_for_path(self): |