diff --git a/src/network_toolkit/common/table_providers.py b/src/network_toolkit/common/table_providers.py index 653ec00..108e355 100644 --- a/src/network_toolkit/common/table_providers.py +++ b/src/network_toolkit/common/table_providers.py @@ -403,6 +403,7 @@ class VendorSequenceInfoTableProvider(BaseModel, BaseTableProvider): vendor_names: list[str] verbose: bool = False config: NetworkConfig | None = None + vendor_specific: bool = False def get_table_definition(self) -> TableDefinition: title_suffix = "" diff --git a/tests/test_backup_integration.py b/tests/test_backup_integration.py index 1d58206..7ac937c 100644 --- a/tests/test_backup_integration.py +++ b/tests/test_backup_integration.py @@ -281,6 +281,7 @@ def temp_backup_dir(self, tmp_path: Path) -> Path: backup_dir.mkdir() return backup_dir + @pytest.mark.skip(reason="Requires full command flow mocking - see issue #42") def test_backup_command_creates_timestamped_directory( self, temp_backup_dir: Path ) -> None: @@ -293,14 +294,10 @@ def test_backup_command_creates_timestamped_directory( # Mock pattern: device_YYYYMMDD_HHMMSS # After running backup, check directory exists - list(temp_backup_dir.glob("test-device_*")) + backup_dirs = list(temp_backup_dir.glob("test-device_*")) # This assertion would verify directory was created - # assert len(backup_dirs) == 1 - # assert re.match(expected_pattern, backup_dirs[0].name) - - # Note: Full implementation requires mocking the entire command flow - pass + assert len(backup_dirs) == 1 def test_backup_saves_text_outputs_to_files(self, temp_backup_dir: Path) -> None: """Verify text outputs from BackupResult are saved as files."""