From 4c45092888bd5b5853ecb36f48e306b391c6712e Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 30 Jan 2024 16:43:01 +0100 Subject: [PATCH] test: Add test case for mod verification --- tools/test_verify_versions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/test_verify_versions.py b/tools/test_verify_versions.py index 17ef2fb..20b2ce6 100644 --- a/tools/test_verify_versions.py +++ b/tools/test_verify_versions.py @@ -15,5 +15,9 @@ def test_unknown_tag(self): verify_versions.retrieve_tag_info("unknown_tag", "https://api.github.com/repos/Alystrasz/Alystrasz.Parkour/tags") self.assertTrue('Tag not found.' in str(context.exception)) +class TestModVerification(unittest.TestCase): + def test_verification(self): + self.assertTrue(verify_versions.verify_all_mod_versions()) + if __name__ == "__main__": unittest.main()