Comments (4)
@niconoe As of v0.9, there is 87% test coverage, and 95% in the current dev branch (pytest-cov
output below). I think it's safe to close this issue.
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-5.4.3, py-1.8.1, pluggy-0.13.1
rootdir: /mnt/d/Workspace/pyinaturalist
plugins: cov-2.9.0, requests-mock-1.8.0
collected 56 items
test/test_api_requests.py ....... [ 12%]
test/test_helpers.py ....................... [ 53%]
test/test_pyinaturalist.py .......................... [100%]
----------- coverage: platform linux, python 3.8.2-final-0 -----------
Name Stmts Miss Cover
---------------------------------------------------
pyinaturalist/__init__.py 7 0 100%
pyinaturalist/api_requests.py 20 0 100%
pyinaturalist/constants.py 5 0 100%
pyinaturalist/exceptions.py 4 0 100%
pyinaturalist/helpers.py 46 3 93%
pyinaturalist/node_api.py 62 3 95%
pyinaturalist/rest_api.py 49 4 92%
---------------------------------------------------
TOTAL 193 10 95%
============================== 56 passed in 3.75s ==============================
```
from pyinaturalist.
- Basis of testing infrastructure (Pytest + requests-mock)
- Testing of
get_access_token()
- Testing of all other functions
- Set-up Travis-CI (make sure different versions are tested => also look at tox) ?
from pyinaturalist.
@peterdesmet: Could you (temporarily at least) configure me as owner/admin of this repo? I need this to configure Travis-CI for continuous integration! thx
from pyinaturalist.
Done!
from pyinaturalist.
Related Issues (20)
- Fix type annotations in API docs HOT 1
- Add lifelist metadata to response in ObservationController.life_list()
- ImportError: cannot import name 'RequestRate' from 'pyrate_limiter' HOT 3
- Put long param sections in dropdowns
- AnnotationController.create() - allow adding annotations by label instead of ID
- Drop support for python 3.7
- binder down? HOT 2
- possible issue with some endpoints HOT 7
- TimeoutError: The write operation timed out HOT 12
- Using Dry Run throws a key error HOT 2
- Adding 'Notes' to observations HOT 2
- A big shoutout! HOT 5
- Checking if the token provided is valid HOT 3
- Observations to/from Pandas DataFrame HOT 5
- GUANOMetadata Support in Audio files HOT 4
- Create/update observations with Observation objects
- Error `WARNING Parameters missing or invalid:1/1 cannot come before 1/1"` using pyinaturalist HOT 5
- HTTP 429 Rate Limit error on reading observations HOT 3
- Feature request: support for font-awesome icons inplace of emojis for user interface HOT 2
- No results for request using pyinaturalist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyinaturalist.