Merging upstream version 1.1.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
50f8dbf7e8
commit
2044ea6182
196 changed files with 10121 additions and 3780 deletions
20
tests/units/asynceapi/conftest.py
Normal file
20
tests/units/asynceapi/conftest.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Copyright (c) 2023-2024 Arista Networks, Inc.
|
||||
# Use of this source code is governed by the Apache License 2.0
|
||||
# that can be found in the LICENSE file.
|
||||
"""Fixtures for the asynceapi client package."""
|
||||
|
||||
import pytest
|
||||
|
||||
from asynceapi import Device
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def asynceapi_device() -> Device:
|
||||
"""Return an asynceapi Device instance."""
|
||||
return Device(
|
||||
host="localhost",
|
||||
username="admin",
|
||||
password="admin",
|
||||
proto="https",
|
||||
port=443,
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue