diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-20 21:19:43 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-20 21:56:37 +0100 |
commit | c39fc0a9eac92c5ea7ec4beeb5da13a0060732cb (patch) | |
tree | 085bee95230d1c6109a0404a9a5a3370b38f9dc7 | |
parent | 4e647cea45368f1036134693133ea4159fe24622 (diff) | |
download | gemato-c39fc0a9eac92c5ea7ec4beeb5da13a0060732cb.tar.gz |
test_profile: Include verification pass
-rw-r--r-- | tests/test_profile.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_profile.py b/tests/test_profile.py index a19b269..5f56dd2 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -136,6 +136,8 @@ class EbuildRepositoryTests(TempDirTestCase): "missing IGNORE entry for {}".format(f)) self.assertEqual(m.find_path_entry(f).tag, 'IGNORE', "type mismatch for {}".format(f)) + m.save_manifests() + m.assert_directory_verifies('') return m def test_regression_top_level_ignore_in_all_manifests(self): @@ -178,6 +180,11 @@ class EbuildRepositoryTests(TempDirTestCase): for f in self.EXPECTED_MANIFESTS: self.assertEqual(m.find_path_entry(f).tag, 'MANIFEST', "type mismatch for {}".format(f)) + + self.assertEqual( + gemato.cli.main(['gemato', 'verify', self.dir]), + 0) + return m |