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

fix/test: Fix handling of invalid requests, increase test coverage #63

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

Starkteetje
Copy link
Member

Previously the Connaisseur logger may have failed to properly log invalid requests. Increase test coverage for flask server. Prevent some tests from leaking environment variables beyond their scope.

@codecov-io
Copy link

codecov-io commented Nov 17, 2020

Codecov Report

❗ No coverage uploaded for pull request base (develop@544e820). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop      #63   +/-   ##
==========================================
  Coverage           ?   96.20%           
==========================================
  Files              ?       15           
  Lines              ?      633           
  Branches           ?        0           
==========================================
  Hits               ?      609           
  Misses             ?       24           
  Partials           ?        0           

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 544e820...5c326a1. Read the comment docs.

connaisseur/mutate.py Outdated Show resolved Hide resolved
connaisseur/mutate.py Outdated Show resolved Hide resolved
connaisseur/flask_server.py Outdated Show resolved Hide resolved
connaisseur/flask_server.py Outdated Show resolved Hide resolved
connaisseur/flask_server.py Outdated Show resolved Hide resolved
connaisseur/flask_server.py Outdated Show resolved Hide resolved
connaisseur/mutate.py Outdated Show resolved Hide resolved
peterthomassen
peterthomassen previously approved these changes Nov 24, 2020
Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

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

lgtm! :-)

Previously the Connaisseur logger may have failed to properly log invalid requests. Increase test coverage for flask server. Prevent some tests from leaking environment variables beyond their scope.
Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

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

lgtm

@phbelitz phbelitz merged commit 5c326a1 into develop Dec 17, 2020
@phbelitz phbelitz mentioned this pull request Dec 18, 2020
@phbelitz phbelitz deleted the test/test-coverage branch February 15, 2021 08:14
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.

None yet

4 participants