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

tests: add logged_user context manager #84

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

bouttier
Copy link
Contributor

Usage:

with logged_user(client, user):
    response = client.get(url)

Copy link

codecov bot commented Dec 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (83f4710) 51.72% compared to head (2adb676) 51.47%.

❗ Current head 2adb676 differs from pull request most recent head 63f5b86. Consider uploading reports for the commit 63f5b86 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #84      +/-   ##
===========================================
- Coverage    51.72%   51.47%   -0.26%     
===========================================
  Files           14       14              
  Lines          725      713      -12     
===========================================
- Hits           375      367       -8     
+ Misses         350      346       -4     
Flag Coverage Δ
pytest 51.47% <ø> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bouttier bouttier force-pushed the feat/logged-user-cm branch from 2adb676 to 63f5b86 Compare December 22, 2023 15:54
@bouttier bouttier merged commit 63f5b86 into develop Dec 22, 2023
2 checks passed
@bouttier bouttier deleted the feat/logged-user-cm branch December 22, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants