Skip to content
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

Add network unittest #308

Merged
merged 5 commits into from
Jan 6, 2019
Merged

Add network unittest #308

merged 5 commits into from
Jan 6, 2019

Conversation

ki4070ma
Copy link
Collaborator

@ki4070ma ki4070ma commented Jan 5, 2019

@jsf-clabot
Copy link

jsf-clabot commented Jan 5, 2019

CLA assistant check
All committers have signed the CLA.

appium_command('/session/1234567890/network_connection'),
body='{"value": 2}'
)
assert driver.set_network_connection(2) == 2
Copy link
Member

Choose a reason for hiding this comment

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

Could you add assertions for the request body like below?
https://github.com/appium/python-client/blob/master/test/unit/webdriver/device/clipboard_test.py
The return value is enough to ""

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for your review.

Done by 3d4487d

Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

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

Thanks!

@KazuCocoa KazuCocoa merged commit 95ca3d0 into appium:master Jan 6, 2019
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