From fd989298cbddf33f8c319ef99f2612cfa15ba9db Mon Sep 17 00:00:00 2001 From: jaegeral Date: Fri, 20 Sep 2024 11:11:41 +0000 Subject: [PATCH] move test_tools under the tests folder --- {test_tools => tests/test_tools}/analyzer_run.py | 0 {test_tools => tests/test_tools}/etc/timesketch/__init__.py | 0 .../test_tools}/timesketch/lib/analyzers/interface.py | 6 +++--- .../test_tools}/timesketch/lib/analyzers/manager.py | 0 .../test_tools}/timesketch/lib/analyzers/utils.py | 0 .../test_tools}/timesketch/lib/definitions.py | 0 {test_tools => tests/test_tools}/timesketch/lib/emojis.py | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename {test_tools => tests/test_tools}/analyzer_run.py (100%) rename {test_tools => tests/test_tools}/etc/timesketch/__init__.py (100%) rename {test_tools => tests/test_tools}/timesketch/lib/analyzers/interface.py (99%) rename {test_tools => tests/test_tools}/timesketch/lib/analyzers/manager.py (100%) rename {test_tools => tests/test_tools}/timesketch/lib/analyzers/utils.py (100%) rename {test_tools => tests/test_tools}/timesketch/lib/definitions.py (100%) rename {test_tools => tests/test_tools}/timesketch/lib/emojis.py (100%) diff --git a/test_tools/analyzer_run.py b/tests/test_tools/analyzer_run.py similarity index 100% rename from test_tools/analyzer_run.py rename to tests/test_tools/analyzer_run.py diff --git a/test_tools/etc/timesketch/__init__.py b/tests/test_tools/etc/timesketch/__init__.py similarity index 100% rename from test_tools/etc/timesketch/__init__.py rename to tests/test_tools/etc/timesketch/__init__.py diff --git a/test_tools/timesketch/lib/analyzers/interface.py b/tests/test_tools/timesketch/lib/analyzers/interface.py similarity index 99% rename from test_tools/timesketch/lib/analyzers/interface.py rename to tests/test_tools/timesketch/lib/analyzers/interface.py index ecfdc0fbcc..14c370e3c0 100644 --- a/test_tools/timesketch/lib/analyzers/interface.py +++ b/tests/test_tools/timesketch/lib/analyzers/interface.py @@ -916,7 +916,7 @@ def add_aggregation(self, aggregation_obj): """Add an aggregation object to the group. Args: - aggregation_obj (Aggregation): the Aggregation objec. + aggregation_obj (Aggregation): the Aggregation object. """ params = { "agg_id": aggregation_obj.id, @@ -934,7 +934,7 @@ def set_orientation(self, orientation="layer"): """Sets how charts should be joined. Args: - orienation: string that contains how they should be connected + orientation: string that contains how they should be connected together, That is the chart orientation, the options are: "layer", "horizontal" and "vertical". The default behavior is "layer". @@ -947,7 +947,7 @@ def set_orientation(self, orientation="layer"): self._analyzer.updates.append(change) def set_vertical(self): - """Sets the "orienation" to vertical.""" + """Sets the "orientation" to vertical.""" self.set_orientation("vertical") def set_horizontal(self): diff --git a/test_tools/timesketch/lib/analyzers/manager.py b/tests/test_tools/timesketch/lib/analyzers/manager.py similarity index 100% rename from test_tools/timesketch/lib/analyzers/manager.py rename to tests/test_tools/timesketch/lib/analyzers/manager.py diff --git a/test_tools/timesketch/lib/analyzers/utils.py b/tests/test_tools/timesketch/lib/analyzers/utils.py similarity index 100% rename from test_tools/timesketch/lib/analyzers/utils.py rename to tests/test_tools/timesketch/lib/analyzers/utils.py diff --git a/test_tools/timesketch/lib/definitions.py b/tests/test_tools/timesketch/lib/definitions.py similarity index 100% rename from test_tools/timesketch/lib/definitions.py rename to tests/test_tools/timesketch/lib/definitions.py diff --git a/test_tools/timesketch/lib/emojis.py b/tests/test_tools/timesketch/lib/emojis.py similarity index 100% rename from test_tools/timesketch/lib/emojis.py rename to tests/test_tools/timesketch/lib/emojis.py