| 1 | # Copyright (c) 2023-2026 Arista Networks, Inc. |
| 2 | # Use of this source code is governed by the Apache License 2.0 |
| 3 | # that can be found in the LICENSE file. |
| 4 | """Fixtures for the asynceapi client package.""" |
| 5 | |
| 6 | import pytest |
| 7 | |
| 8 | from asynceapi import Device |
| 9 | |
| 10 | |
| 11 | @pytest.fixture |
| 12 | def asynceapi_device() -> Device: |
| 13 | """Return an asynceapi Device instance.""" |
| 14 | return Device( |
| 15 | host="localhost", |
| 16 | username="admin", |
| 17 | password="admin", |
| 18 | proto="https", |
| 19 | port=443, |
| 20 | ) |