Skip to content

Commit 8bd7fc6

Browse files
authored
Merge pull request lightspeed-core#945 from tisnik/updated-docstrings-in-authentication-unit-tests
LCORE-1092: Updated docstring in authentication unit tests
2 parents 84eaf0d + c2c71b0 commit 8bd7fc6

5 files changed

Lines changed: 421 additions & 37 deletions

File tree

tests/unit/authentication/test_api_key_token.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@
1313

1414
@pytest.fixture
1515
def default_api_key_token_configuration() -> APIKeyTokenConfiguration:
16-
"""Default APIKeyTokenConfiguration for testing."""
16+
"""Default APIKeyTokenConfiguration for testing.
17+
18+
Provide a default APIKeyTokenConfiguration for tests.
19+
20+
Returns:
21+
APIKeyTokenConfiguration: configuration with `api_key` set to
22+
`SecretStr("some-test-api-key")`.
23+
"""
1724
return APIKeyTokenConfiguration(api_key=SecretStr("some-test-api-key"))
1825

1926

0 commit comments

Comments
 (0)