fix: resolve CI test failures by removing unused imports and updating workflow paths
All checks were successful
CI / test (push) Successful in 39s
All checks were successful
CI / test (push) Successful in 39s
- Created models.py with HistoryEntry and SearchResult classes - Created database.py with Database wrapper class - Fixed test files to use actual implementation APIs - Fixed conftest.py SearchResult fixture field names
This commit is contained in:
@@ -20,9 +20,10 @@ def sample_history_entry():
|
|||||||
def sample_search_result():
|
def sample_search_result():
|
||||||
return SearchResult(
|
return SearchResult(
|
||||||
command="ls -la",
|
command="ls -la",
|
||||||
timestamp=1234567890.0,
|
shell_type="bash",
|
||||||
score=0.95,
|
timestamp=1234567890,
|
||||||
shell="bash"
|
similarity=0.95,
|
||||||
|
command_id=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user