Skip to content

Commit

Permalink
update the version in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdual committed Aug 20, 2024
1 parent cc48a3d commit 840c3f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def test_version_ranges(self):

for i in range(0, 100):
ua = ua_generator.generate(browser="chrome", options=Options(
version_ranges={"chrome": VersionRange(min_version=100, max_version=102)}))
self.assertIn(ua.generator.browser_version.major, (100, 101, 102))
version_ranges={"chrome": VersionRange(125, 127)}))
self.assertIn(ua.generator.browser_version.major, (125, 126, 127))


if __name__ == '__main__':
Expand Down

0 comments on commit 840c3f1

Please sign in to comment.