Skip to content

Add events property#429

Merged
KazuCocoa merged 22 commits intomasterfrom
add-events-property
Aug 22, 2019
Merged

Add events property#429
KazuCocoa merged 22 commits intomasterfrom
add-events-property

Conversation

@dpgraham
Copy link
Copy Markdown
Contributor

COPY OF #427

Needed to run python isort

@dpgraham dpgraham requested review from KazuCocoa and ki4070ma August 22, 2019 03:43
@jsf-clabot
Copy link
Copy Markdown

jsf-clabot commented Aug 22, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ vrunoa
✅ KazuCocoa
✅ ki4070ma
❌ Daniel-Graham-SL1298


Daniel-Graham-SL1298 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@ki4070ma
Copy link
Copy Markdown
Collaborator

ki4070ma commented Aug 22, 2019

@dpgraham
I've checked in my local, webdriver_test.py needs fix from its check.
(At least, python -m isort -rc . works in my local)

Please run below command.

$python -m isort -rc test/unit/webdriver/webdriver_test.py

@dpgraham
Copy link
Copy Markdown
Contributor Author

@ki4070ma I tried that already and it still fails the test

@ki4070ma
Copy link
Copy Markdown
Collaborator

@dpgraham
Add mock = "~=3.0" to Pipfile.

https://github.com/appium/python-client/blob/master/Pipfile

https://pypi.org/project/mock/

Error log from Travis

Traceback:

test/unit/webdriver/webdriver_test.py:22: in <module>

    from mock import patch

E   ImportError: No module named mock

@KazuCocoa
Copy link
Copy Markdown
Member

KazuCocoa commented Aug 22, 2019

9e46aa1
mm, my change does not appear here. <= It delayed appearing on GitHub

isort seems to depend on environment.
By hand and by pre-commit hook on my end got a different result.
The former addressed 9e46aa1 , but the later had no issue without the change.

@ki4070ma
Copy link
Copy Markdown
Collaborator

ki4070ma commented Aug 22, 2019

@KazuCocoa
Sorry for confusing you, this change(f2a6abd) is from github.com directly, so pre-commit doesn't run.

@KazuCocoa
Copy link
Copy Markdown
Member

No.
I meant the result of isort by hand, python -m isort -rc ., and by pre-commit had a different result on my local.
We should consider if we continue to use it or fix the dependency.

@KazuCocoa KazuCocoa merged commit 13240d7 into master Aug 22, 2019
@KazuCocoa KazuCocoa deleted the add-events-property branch August 22, 2019 12:32
@KazuCocoa
Copy link
Copy Markdown
Member

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.

5 participants