jrxFive / python-nomad

Client library Hashicorp Nomad
https://python-nomad.readthedocs.io/en/latest/
MIT License
139 stars 73 forks source link

Rndmh3ro namespace get job with tests #121

Closed jrxFive closed 3 years ago

jrxFive commented 3 years ago

Namespace override for get_jobs

Add tests for #119. Addresses #118.

codecov-commenter commented 3 years ago

Codecov Report

Merging #121 (0cadab0) into master (1cc1077) will decrease coverage by 0.04%. The diff coverage is 87.50%.

:exclamation: Current head 0cadab0 differs from pull request most recent head e8c4c55. Consider uploading reports for the commit e8c4c55 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   90.61%   90.56%   -0.05%     
==========================================
  Files          26       26              
  Lines        1065     1070       +5     
==========================================
+ Hits          965      969       +4     
- Misses        100      101       +1     
Impacted Files Coverage Δ
nomad/api/job.py 93.24% <80.00%> (-1.13%) :arrow_down:
nomad/api/jobs.py 90.00% <100.00%> (+0.41%) :arrow_up:

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 1cc1077...e8c4c55. Read the comment docs.