summaryrefslogtreecommitdiffstats
path: root/tests/units/asynceapi/conftest.py
blob: 812d5b9cddc7e6aa00ba513c8948a270327a8f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,
    )