Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Oct 31, 2024
1 parent 3587f99 commit e202922
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/maltest/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ def malcolm_vm_info():
@pytest.fixture
def malcolm_http_auth():
if info := get_malcolm_vm_info():
yield HTTPBasicAuth(
info.get('password', ''),
auth = HTTPBasicAuth(
info.get('username', ''),
info.get('password', ''),
)
yield auth
else:
yield HTTPBasicAuth('', '')
yield None


@pytest.fixture
Expand Down

0 comments on commit e202922

Please sign in to comment.