-
Notifications
You must be signed in to change notification settings - Fork 568
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 activities unittest #310
Conversation
@@ -67,7 +67,7 @@ def wait_activity(self, activity, timeout, interval=1): | |||
|
|||
This is an Android-only method. | |||
|
|||
:Agrs: | |||
:Args: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo
@@ -4,6 +4,7 @@ isort==4.3.4 | |||
pylint==1.9.3 | |||
autopep8==1.4.3 | |||
httpretty==0.9.6 | |||
pytest==4.0.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed pytest version because from 4.1.0 release this issue happens and test fails
pytest-dev/pytest-cov#252
pytest-dev/pytest#4564
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. thanks
) | ||
driver.start_activity('com.example.myapp', '.ExampleActivity') | ||
|
||
d = json.loads(httpretty.last_request().body.decode('utf-8')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update into 2 cases, minimal and maximum arguments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, thanks
thanks! |
#283