Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Update tests for publishers removing int conversion for price
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Feb 9, 2021
1 parent ece3dea commit 77c892a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecommerce/courses/tests/test_publishers.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_serialize_seat_for_commerce_api(self):
expected = {
'name': 'verified',
'currency': 'USD',
'price': int(stock_record.price_excl_tax),
'price': stock_record.price_excl_tax,
'sku': stock_record.partner_sku,
'bulk_sku': None,
'expires': None,
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_serialize_seat_for_commerce_api_with_professional(self, is_verified, ex
expected = {
'name': expected_mode,
'currency': 'USD',
'price': int(stock_record.price_excl_tax),
'price': stock_record.price_excl_tax,
'sku': stock_record.partner_sku,
'bulk_sku': None,
'expires': None,
Expand All @@ -178,7 +178,7 @@ def test_serialize_seat_with_enrollment_code(self):
expected = {
'name': 'verified',
'currency': 'USD',
'price': int(stock_record.price_excl_tax),
'price': stock_record.price_excl_tax,
'sku': stock_record.partner_sku,
'bulk_sku': ec_stock_record.partner_sku,
'expires': None,
Expand Down

0 comments on commit 77c892a

Please sign in to comment.