mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
fix: pre-commit issues: non executable shebang file and removal of @pytest.mark.asyncio decorator (#3397)
# What does this PR do? <!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. --> Fix pre-commit issues: non executable shebang file, @pytest.mark.asyncio decorator <!-- If resolving an issue, uncomment and update the line below --> <!-- Closes #[issue-number] --> ## Test Plan <!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
This commit is contained in:
parent
1671431310
commit
c836fa29e3
2 changed files with 0 additions and 1 deletions
0
scripts/get_setup_env.py
Normal file → Executable file
0
scripts/get_setup_env.py
Normal file → Executable file
|
@ -82,7 +82,6 @@ class TestRagQuery:
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
RAGQueryConfig(mode="wrong_mode")
|
RAGQueryConfig(mode="wrong_mode")
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
|
||||||
async def test_query_adds_vector_db_id_to_chunk_metadata(self):
|
async def test_query_adds_vector_db_id_to_chunk_metadata(self):
|
||||||
rag_tool = MemoryToolRuntimeImpl(
|
rag_tool = MemoryToolRuntimeImpl(
|
||||||
config=MagicMock(),
|
config=MagicMock(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue