Skip to content

Commit

Permalink
Fix version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Dec 5, 2024
1 parent 3160abc commit af19a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def secondary_user(logged_rocket):
def skip_v7(logged_rocket):
"""Skip test if chat version is > 7.0.0"""
version = logged_rocket.info().json().get("info").get("version")
if version and Version.parse(version) > Version.parse("7.0.0"):
if version and Version.parse(version) >= Version.parse("7.0.0"):
pytest.skip("Endpoint not available in this version")


Expand Down

0 comments on commit af19a89

Please sign in to comment.