Skip to content

Commit

Permalink
add annotation for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThejasNU committed Feb 3, 2025
1 parent a910fad commit ea690be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/agentc_core/tests/catalog/test_scan_dir.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import os
import pathlib
import pytest

from agentc_core.catalog.directory import scan_directory
from agentc_core.defaults import DEFAULT_SCAN_DIRECTORY_OPTS
from agentc_core.indexer.indexer import AllIndexers


@pytest.mark.smoke
def test_scan_dir_tools():
root_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "resources", "scan_files")
source_globs = [i.glob_pattern for i in AllIndexers if all(k.is_tool() for k in i.kind)]
Expand All @@ -20,6 +22,7 @@ def test_scan_dir_tools():
)


@pytest.mark.smoke
def test_scan_dir_prompts():
root_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "resources", "scan_files")
source_globs = [i.glob_pattern for i in AllIndexers if all(k.is_prompt() for k in i.kind)]
Expand Down

0 comments on commit ea690be

Please sign in to comment.