Skip to content

Commit 4b6ec70

Browse files
jaegeraljkppr
andauthored
move./test_data to ./tests/test_data (#3270)
Co-authored-by: Janosch <[email protected]>
1 parent 2b3986e commit 4b6ec70

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

timesketch/api/v1/resources_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ def test_check_and_run_dfiq_analysis_steps(self, mock_analyzer_manager):
14361436
self._commit_to_database(test_sketch)
14371437

14381438
# Load DFIQ objects
1439-
dfiq_obj = DFIQ("./test_data/dfiq/")
1439+
dfiq_obj = DFIQ("./tests/test_data/dfiq/")
14401440

14411441
scenario = dfiq_obj.scenarios[0]
14421442
scenario_sql = Scenario(

timesketch/lib/dfiq_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from timesketch.lib.testlib import BaseTest
1717
from timesketch.lib import dfiq
1818

19-
TEST_DATA_DIR = "./test_data/dfiq/"
19+
TEST_DATA_DIR = "./tests/test_data/dfiq/"
2020

2121

2222
class TestDFIQ(BaseTest):

timesketch/lib/testlib.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ class TestConfig(object):
8383
LLM_PROVIDER = "test"
8484
LLM_PROVIDER_CONFIGS = {"default": {"test": "test"}}
8585
DFIQ_ENABLED = False
86-
DATA_TYPES_PATH = "./test_data/nl2q/test_data_types.csv"
87-
PROMPT_NL2Q = "./test_data/nl2q/test_prompt_nl2q"
88-
EXAMPLES_NL2Q = "./test_data/nl2q/test_examples_nl2q"
86+
DATA_TYPES_PATH = "./tests/test_data/nl2q/test_data_types.csv"
87+
PROMPT_NL2Q = "./tests/test_data/nl2q/test_prompt_nl2q"
88+
EXAMPLES_NL2Q = "./tests/test_data/nl2q/test_examples_nl2q"
8989

9090

9191
class MockOpenSearchClient(object):

0 commit comments

Comments
 (0)