Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Apr 3, 2024
1 parent 7b0028a commit 4b480c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from pydantic import BaseModel, Field

from blueapi.config import ApplicationConfig, BasicAuthentication, ConfigLoader
from blueapi.config import BasicAuthentication, ConfigLoader
from blueapi.utils import InvalidConfigError


Expand Down Expand Up @@ -118,6 +118,7 @@ def test_error_thrown_if_schema_does_not_match_yaml(nested_config_yaml: Path) ->
with pytest.raises(InvalidConfigError):
loader.load()


@mock.patch.dict(os.environ, {"FOO": "bar"}, clear=True)
def test_auth_from_env():
auth = BasicAuthentication(username="${FOO}", passcode="baz")
Expand Down

0 comments on commit 4b480c9

Please sign in to comment.