Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
myersCody committed Aug 15, 2024
1 parent 46e36a6 commit 14a3664
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_aws_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def setUp(self):
self.amount = 1
self.rate = 0.1
self.saving = 0.1
self.disk_size = 10
self.currency = "USD"
self.legal_entity = "Red Hat"
self.attributes = {
Expand All @@ -219,6 +220,7 @@ def setUp(self):
"product_name": self.product_name,
"resource_id": self.resource_id,
"amount": self.amount,
"disk_size": self.disk_size,
"rate": self.rate,
"saving": self.saving,
"product_family": self.product_family,
Expand Down Expand Up @@ -354,7 +356,7 @@ def test_init_with_attributes(self):
self.assertEqual(generator._product_sku, self.product_sku)
self.assertEqual(generator._tags, self.tags)
self.assertEqual(generator._resource_id, "vol-" + self.resource_id)
self.assertEqual(generator._amount, self.amount)
self.assertEqual(generator._disk_size, self.disk_size)
self.assertEqual(generator._rate, self.rate)

def test_update_data(self):
Expand Down

0 comments on commit 14a3664

Please sign in to comment.