diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-05 06:57:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-05 06:57:41 +0000 |
| commit | e1127353fca10d915b2118bcc72831007352cb2f (patch) | |
| tree | 03807da2864eefbd7c73f7e99c0ad53f43f6bdfb /dev-python/httpauth/files | |
| parent | a510605f4c599302839ff7b08ea776d16a139785 (diff) | |
| download | baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.tar.gz baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.tar.xz baldeagleos-repo-e1127353fca10d915b2118bcc72831007352cb2f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/httpauth/files')
| -rw-r--r-- | dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch b/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch deleted file mode 100644 index 5cb607c2bb4c..000000000000 --- a/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch +++ /dev/null @@ -1,40 +0,0 @@ -commit d57060ebaeca8cd38e03cc64f9ee0996e83b50a9 -Author: Jonas Haag <jonas@lophus.org> -Date: Thu Apr 21 08:58:36 2022 +0200 - - Move CI to GHA (#3) - ---- a/tests.py -+++ b/tests.py -@@ -10,7 +10,7 @@ except ImportError: # Python 2 - - from httpauth import DictHttpAuthMiddleware, DigestFileHttpAuthMiddleware, md5_str - --from nose.tools import raises -+import pytest - - - def parse_dict_header(value): -@@ -121,16 +121,16 @@ def test_without_realm(): - assert 'Digest realm=""' in response.headers['WWW-Authenticate'] - - --@raises(ValueError) - def test_invalid_digestfile_1(): -- DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'), -- wsgi_app=wsgi_app) -+ with pytest.raises(ValueError): -+ DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'), -+ wsgi_app=wsgi_app) - - --@raises(ValueError) - def test_invalid_digestfile_2(): -- DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'), -- wsgi_app=wsgi_app) -+ with pytest.raises(ValueError): -+ DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'), -+ wsgi_app=wsgi_app) - - - def test_ticket_1(): |
