Skip to content

Commit

Permalink
Fix test (version numbering)
Browse files Browse the repository at this point in the history
  • Loading branch information
shsdev committed Nov 25, 2024
1 parent 5fd5b47 commit f28ac30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pairtreestorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def test_curr_version(self):
def test_store(self):
pts = PairtreeStorage(repository_storage_dir)
pts.store("xyz", package_file_path)
self.assertEqual(0, pts.curr_version_num("xyz"))
pts.store("xyz", package_file_path)
self.assertEqual(1, pts.curr_version_num("xyz"))
pts.store("xyz", package_file_path)
self.assertEqual(2, pts.curr_version_num("xyz"))

def test_get_object_path(self):
pts = PairtreeStorage(test_repo)
Expand Down

0 comments on commit f28ac30

Please sign in to comment.