Skip to content

Commit

Permalink
Rearrange test to comply with CI_COMMIT_TAG version.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoooo committed Apr 18, 2023
1 parent 0079ebe commit 4992971
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/tests/test_config_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ def test_config_app_version(self):
with open(Path(__file__).parent.parent.parent / 'VERSION') as f:
version_file = f.read().strip('\n')
version_config = DatacheckConfig.APP_VERSION
print("version", version)
print("version_config", version_config)
print("version_file", version_file)
if version_pkg :
self.assertEqual(version, version_config)
self.assertEqual(version, version_file)
self.assertEqual(version_file, version_config )
self.assertRegex(version, version_file)
self.assertRegex(version_config, version_file)

0 comments on commit 4992971

Please sign in to comment.