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

Media and Log functions #135

Merged
merged 11 commits into from
Jan 6, 2020
Merged

Conversation

maximvelichko
Copy link
Contributor

  1. @jessbo's changes to retrieve media files (https://github.com/jessbo/python-amcrest)
  2. Log retrieval functionality

src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Jan 2, 2020

Coverage Status

Coverage decreased (-0.06%) to 31.678% when pulling ab45ace on maximvelichko:media-log into 3b0457c on tchellomello:master.

src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
src/amcrest/media.py Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
@maximvelichko
Copy link
Contributor Author

I believe the code coverage is based on test in tests/test_utils.py
They are for amcrest.utils only, so I see no way to increase the coverage without introducing e.g. mocks for src/amcrest/http.py. (And any added functionality would decrease the coverage).

If I miss something, and there is a way to increase coverage for what I am adding - please let me know, I'd be glad to add it

.travis.yml Outdated Show resolved Hide resolved
src/amcrest/log.py Outdated Show resolved Hide resolved
src/amcrest/media.py Outdated Show resolved Hide resolved
Copy link
Owner

@tchellomello tchellomello left a comment

Choose a reason for hiding this comment

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

@maximvelichko I've added some comments. Please let me know your thoughts?

@dougsland could we have your sharp eyes on this PR as well?

Thanks guys!

Copy link
Owner

@tchellomello tchellomello left a comment

Choose a reason for hiding this comment

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

@maximvelichko It looks good!!

@dougsland could you check as well, please?

Thank you!!

examples/get-logs.py Outdated Show resolved Hide resolved
examples/get-logs.py Outdated Show resolved Hide resolved
examples/get-files.py Outdated Show resolved Hide resolved
examples/get-files.py Outdated Show resolved Hide resolved
@dougsland dougsland merged commit fdbb775 into tchellomello:master Jan 6, 2020
@maximvelichko maximvelichko deleted the media-log branch January 6, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants