Skip to content

Conversation

@matllubos
Copy link
Collaborator

No description provided.


def test_methods(self):
self.assertEqual(self.data_api.get_payment_methods()[0].name, 'Platba kartou')
self.assertEqual(self.data_api.get_payment_methods()[0].name, 'Platba24')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this changed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because there was changed data in testing api :(

self.assertEqual(
self.data_api.get_payment(id).id,
id
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be on one line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants