Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/drivers.act
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Router driver auto-detection and base classes"""

import logging
import ssh
import re
import testing
import time

"""Router driver auto-detection and base classes"""

# SSH Client Wrapper for dependency injection and testing
class SSHClientWrapper(object):
"""Base wrapper interface for SSH client operations"""
Expand Down
4 changes: 2 additions & 2 deletions src/router_client.act
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Simple router client library for Acton"""

import logging
import process
import ssh

import drivers

"""Simple router client library for Acton"""

actor Client(pcap: process.ProcessCap,
address: str,
username: str,
Expand Down
4 changes: 2 additions & 2 deletions src/ssh.act
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""SSH client library for Acton"""

import logging
import process

"""SSH client library for Acton"""

# Authentication methods
AUTH_NONE: int = 0
AUTH_PASSWORD: int = 1
Expand Down
8 changes: 4 additions & 4 deletions src/test_drivers.act
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import testing
import logging
import drivers

"""
Driver State Machine Tests

Tests the driver state machine using async actor pattern with external driving.
Uses TestSSHWrapper to capture commands and handle_data() to simulate responses.
"""

import testing
import logging
import drivers

actor _test_juniper_driver_initialization(t: testing.AsyncT):
"""Test Juniper driver initialization and state transitions"""

Expand Down
Loading