Skip to content

Commit

Permalink
updates (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyschulman authored Mar 29, 2023
1 parent 4d74646 commit 930dcdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions netcam_aioeos/eos_dut.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

from netcad.device import Device
from netcad.checks import CheckCollection, CheckResultsCollection
from netcam.dut import AsyncDeviceUnderTest
from netcam.dut import AsyncDeviceUnderTest, SetupError

# -----------------------------------------------------------------------------
# Privae Imports
Expand Down Expand Up @@ -157,7 +157,7 @@ async def setup(self):
await super().setup()

if not await self.eapi.check_connection():
raise RuntimeError(
raise SetupError(
f"Unable to connect to EOS device: {self.device.name}: "
"Device offline or eAPI is not enabled, check config."
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netcam-aioeos"
version = "0.6.0"
version = "0.6.1"
description = "NetCAD/CAM - Arista EOS/eAPI asyncio driver"
readme = "README.md"
authors = ["Jeremy Schulman"]
Expand Down

0 comments on commit 930dcdd

Please sign in to comment.