Skip to content

Commit

Permalink
Price fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirosson committed Oct 26, 2024
1 parent 395601e commit acd46d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/prices/one-key-classic-1s.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
price_element = soup.find('span', class_='css-m1wlop')
price = price_element.get_text(strip=True)

assert price == "$99.00", f"Failed: Price '{price}' does not match expected value"
assert price == "$99", f"Failed: Price '{price}' does not match expected value"

print(price)
2 changes: 1 addition & 1 deletion scripts/prices/one-key-pro.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
else:
print("Product not found.")

assert price == "$278.00", f"Failed: Price '{price}' does not match expected value"
assert price == "$278", f"Failed: Price '{price}' does not match expected value"

print(price)
2 changes: 1 addition & 1 deletion scripts/prices/one-key-touch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
price_element = soup.find('span', class_='css-m1wlop')
price = price_element.get_text(strip=True)

assert price == "$249.00", f"Failed: Price '{price}' does not match expected value"
assert price == "$249", f"Failed: Price '{price}' does not match expected value"

print(price)

0 comments on commit acd46d0

Please sign in to comment.