Skip to content

Commit 96acf7b

Browse files
committed
Fix card tests
1 parent 4c09f49 commit 96acf7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_all(self):
4141
}
4242

4343
card_created = self.sdk.card().create(customer_id, card_object)
44-
self.assertEqual(card_created["status"], 200)
44+
self.assertIn(card_created["status"], [200, 201])
4545
self.assertEqual(self.sdk.card()
4646
.get(customer_id, card_created["response"]["id"])["status"], 200)
4747

0 commit comments

Comments
 (0)