mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-08-14 11:57:01 +00:00
wip3
This commit is contained in:
@@ -507,7 +507,7 @@ class TestMultiAuth:
|
||||
assert org_calls == ["org_acme"]
|
||||
|
||||
def test_require_returns_new_multi_auth(self):
|
||||
from fastapi_toolsets.security.multi import MultiAuth as MultiAuthClass
|
||||
from fastapi_toolsets.security.sources import MultiAuth as MultiAuthClass
|
||||
|
||||
bearer = BearerTokenAuth(role_validator)
|
||||
multi = MultiAuth(bearer)
|
||||
|
||||
Reference in New Issue
Block a user