Skip to content

Commit

Permalink
test: Add test case for mod verification
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Jan 30, 2024
1 parent ec1cb34 commit b970e99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/test_verify_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit b970e99

Please sign in to comment.