8000 Used zeep library by matllubos · Pull Request #2 · druids/thepay · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Used zeep library #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Used zeep library #2

wants to merge 2 commits into from

Conversation

matllubos
Copy link
Collaborator

No description provided.

def setUp(self):
super(DataApiTests, self).setUp()
self.config = Config()
self.data_api = DataApi(self.config)

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.

2 participants
0