8000 Feature request testing (merge from personal to org branch) by GriceTurrble · Pull Request #44 · python-amazon-mws/python-amazon-mws · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Conversation

@GriceTurrble
Copy link
Member

No description provided.

GriceTurrble and others added 30 commits January 22, 2018 23:31
* Added Finances API Feature

* Don't do automated deployments via Travis (for the moment)

* Update README.md badges

* InboundShipments, next_token_action decorator, and some style cleanups. (#33)

* Testing out git commits from VS Code

* Reverting the test commit

* Adding VS Code settings to gitignore.

* Style fixes

* MWS.enumerate_param deprecated: now using utils.enumerate_param and utils.enumerate_params

* InboundShipments fleshed out; added `utils.next_token_action` decorator; deprecated separate methods for `...by_next_token()`

* Bugfix, rename `_enumerate_param` to `enumerate_param` (no need for private)

* Fix for next_token issues.

* TravisCI flake8 complaining, fixes.

* Minor flake8 complaint.

* Hack to get flake8 to stop complaining.

* Strip pylint disables to clear line length issue.

* Correction to keyed params, now tests every item in values sequence to ensure all are dicts.

* Add tests for param methods in utils.

* Add test for next token decorator.

* Adding 'InboundShipments' to `__all__`

* Assigning response a default in __init__ for DictWrapper and DataWrapper

* Unneeded line breaks removed + docstring formatting

* Comment corrected. They're tuples, not sets.

* Finances methods updated to use next_token_action decorator
…t having a problem when the node is a single ObjectDict instead of a list.
@codecov-io
Copy link
codecov-io commented Feb 6, 2018

Codecov Report

Merging #44 into feature-request-testing will decrease coverage by 5.39%.
The diff coverage is 40%.

Impacted file tree graph

@@                    Coverage Diff                     @@
##           feature-request-testing      #44     +/-   ##
==========================================================
- Coverage                    46.67%   41.28%   -5.4%     
==========================================================
  Files                            4        4             
  Lines                          632      654     +22     
  Branches                        64       66      +2     
==========================================================
- Hits                           295      270     -25     
- Misses                         324      373     +49     
+ Partials                        13       11      -2
Impacted Files Coverage Δ
mws/utils.py 54.2% <25%> (-17.64%) ⬇️
mws/mws.py 41.25% <41.66%> (-3.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bffeb2f...6a5774d. Read the comment docs.

@GriceTurrble
Copy link
Member Author

Accepting the decrease in coverage, as this is the first step to actually increase test coverage overall. Tests for all current request methods to be added in due time.

@GriceTurrble GriceTurrble merged commit 4f0a483 into python-amazon-mws:feature-request-testing Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0