fix: resolve CI/CD failures - package discovery and linting
This commit is contained in:
@@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from unittest.mock import patch, MagicMock
|
from unittest.mock import patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@@ -90,9 +89,7 @@ class TestProcessQuery:
|
|||||||
def test_process_query_success(self, setup_test_env):
|
def test_process_query_success(self, setup_test_env):
|
||||||
"""Test successful query processing."""
|
"""Test successful query processing."""
|
||||||
from shell_speak.interactive import _process_query
|
from shell_speak.interactive import _process_query
|
||||||
from shell_speak.matcher import get_matcher
|
|
||||||
|
|
||||||
matcher = get_matcher()
|
|
||||||
match = _process_query("list running containers", "docker")
|
match = _process_query("list running containers", "docker")
|
||||||
|
|
||||||
if match:
|
if match:
|
||||||
|
|||||||
Reference in New Issue
Block a user