Skip to content

Commit

Permalink
test(featurizer): fix patch_ver issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billshitg committed Nov 10, 2023
1 parent e2d6088 commit d139b8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_gds_featurizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ def test_get_db_version(self):
major_ver, minor_ver, patch_ver = self.featurizer._get_db_version()
self.assertIsNotNone(int(major_ver))
self.assertIsNotNone(int(minor_ver))
self.assertIsNotNone(int(patch_ver))
try:
patch_ver = int(patch_ver)
except:
pass
self.assertIsNotNone(patch_ver)
self.assertIsInstance(self.featurizer.algo_ver, str)

def test_get_algo_dict(self):
Expand Down

0 comments on commit d139b8d

Please sign in to comment.