-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#13] prevent download of private keys #14
Conversation
Codecov Report
@@ Coverage Diff @@
## main #14 +/- ##
==========================================
+ Coverage 99.26% 99.57% +0.31%
==========================================
Files 15 16 +1
Lines 406 470 +64
==========================================
+ Hits 403 468 +65
+ Misses 3 2 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
45f7778
to
b2b1704
Compare
|
||
|
||
@temp_private_root() | ||
class AdminTests(TestCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the next time - we prefer writing tests in pytest style for libraries, pytest-django provides many useful tools to make tests easier to read and maintain.
b2b1704
to
52f7cbb
Compare
Fixes #13 (partly)
private_media_no_download_fields
attribute in the admin