Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-vuillemot committed Jan 30, 2025
1 parent be58b8f commit 68f1914
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions compatibility/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
import cshelve


version = sys.argv[1]
cshelve_version = sys.argv[1]
python_version = sys.argv[2]

with cshelve.open("./azure-passwordless.ini") as db:
assert db[f"compatibility-{version}"] == f"my complex data from version {version}"
assert (
db[f"compatibility-{version}"]
== f"my complex data from cshelve version {cshelve_version} and python {python_version}"
)

0 comments on commit 68f1914

Please sign in to comment.