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

Place authentication in importable file for use with test cases placed in multiple files #11

Merged
merged 6 commits into from
Dec 3, 2020

Conversation

philipflohr
Copy link
Contributor

This splits the login part from the rest of the raw api tests.
While there is no real use of this change right now, in the future this can be used to import the authentication information from multiple test locations

tests/apitest_shared.py Outdated Show resolved Hide resolved
tests/test_api.py Outdated Show resolved Hide resolved
tests/test_api_raw.py Outdated Show resolved Hide resolved
This was referenced Nov 30, 2020
@codecov-io
Copy link

codecov-io commented Dec 2, 2020

Codecov Report

Merging #11 (a7699c6) into master (2bb8a03) will decrease coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   84.49%   84.34%   -0.16%     
==========================================
  Files           6        6              
  Lines         729      728       -1     
==========================================
- Hits          616      614       -2     
- Misses        113      114       +1     
Impacted Files Coverage Δ
src/personio_py/client.py 78.32% <0.00%> (-0.85%) ⬇️

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 2bb8a03...a7699c6. Read the comment docs.

@philipflohr
Copy link
Contributor Author

Hi @klamann
all your comments have been addressed.
If you don't see other issues this should be ready to be merged.

@klamann
Copy link
Contributor

klamann commented Dec 3, 2020

looks fine for me now!

@klamann klamann merged commit 2d61dd3 into at-gmbh:master Dec 3, 2020
philipflohr pushed a commit to philipflohr/personio-py that referenced this pull request Jan 14, 2021
…d in multiple files (at-gmbh#11)

* Place authentication in importable file for use with test cases placed in multiple files

* Readd existing tests

* Update import statement

* Don't use shared_test_data dict, cache retrieval of valid online user

* Don't require python3.8 to run the tests

* cleanup

Co-authored-by: Sebastian Straub <[email protected]>
philipflohr pushed a commit to philipflohr/personio-py that referenced this pull request Jan 21, 2021
…d in multiple files (at-gmbh#11)

* Place authentication in importable file for use with test cases placed in multiple files

* Readd existing tests

* Update import statement

* Don't use shared_test_data dict, cache retrieval of valid online user

* Don't require python3.8 to run the tests

* cleanup

Co-authored-by: Sebastian Straub <[email protected]>
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.

3 participants