From c39fc0a9eac92c5ea7ec4beeb5da13a0060732cb Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 20 Nov 2017 21:19:43 +0100 Subject: test_profile: Include verification pass --- tests/test_profile.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3