Skip to content

Commit

Permalink
Use the right exit not to upset pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
inus committed May 14, 2024
1 parent 63c6fdc commit a3afa06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_sqlcreate.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_sqlcreate():
print("Creating new" + DB)

if os.getenv('GITHUB_ACTIONS'): # todo fixme
exit(0)
pytest.exit('Skipping create database on Github Actions',returncode=0)
else:
con = fdb.create_database("create database 'test/TEST.fdb' ")

Expand Down

0 comments on commit a3afa06

Please sign in to comment.