Skip to content

Commit

Permalink
Fix call to TestCase.assertEqual() (#19091)
Browse files Browse the repository at this point in the history
`TestCase.assertEquals()` does not exist.
  • Loading branch information
Ichimonji10 authored Jul 8, 2024
1 parent 8ab3bb4 commit 5da4f50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def test_valdiator(self):
self.assertEqual(a.pattern_with_digits_and_delimiter, "image_123")

# test sanitize for serialization with different data types
self.assertEquals(petstore_api.ApiClient().sanitize_for_serialization(a), {'byte': b'string', 'date': '2013-09-17', 'number': 123.45, 'password': 'testing09876', 'pattern_with_digits_and_delimiter': 'image_123'})
self.assertEqual(petstore_api.ApiClient().sanitize_for_serialization(a), {'byte': b'string', 'date': '2013-09-17', 'number': 123.45, 'password': 'testing09876', 'pattern_with_digits_and_delimiter': 'image_123'})

# test sanitize for serialization with SecretStr (format: password)
class LoginTest(BaseModel):
Expand Down

0 comments on commit 5da4f50

Please sign in to comment.