From 368d5e3725c45378463aff6738ad7a40d178966d Mon Sep 17 00:00:00 2001 From: Nico Stefani Date: Thu, 2 Feb 2023 17:41:47 -0300 Subject: [PATCH] style(#3343): Apply suggestions from code review Co-authored-by: Facundo Dalmau --- .../wazuh_testing/wazuh_testing/modules/aws/data_generator.py | 2 +- tests/integration/test_aws/test_discard_regex.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/wazuh_testing/wazuh_testing/modules/aws/data_generator.py b/deps/wazuh_testing/wazuh_testing/modules/aws/data_generator.py index 035519b9be..b51c0f1b41 100644 --- a/deps/wazuh_testing/wazuh_testing/modules/aws/data_generator.py +++ b/deps/wazuh_testing/wazuh_testing/modules/aws/data_generator.py @@ -59,7 +59,7 @@ def get_data_sample(self) -> str: """Return a sample of data according to the cloudtrail format. Returns: - ste: Syntetic data. + str: Syntetic data. """ return json.dumps({ 'Records': [ diff --git a/tests/integration/test_aws/test_discard_regex.py b/tests/integration/test_aws/test_discard_regex.py index 970cfa0ede..246e59106f 100644 --- a/tests/integration/test_aws/test_discard_regex.py +++ b/tests/integration/test_aws/test_discard_regex.py @@ -131,8 +131,8 @@ def test_discard_regex( timeout=T_20, callback=event_monitor.callback_detect_event_processed_or_skipped(pattern), error_message=( - 'The AWS module did not show correct message about discard regex or ', - 'did not process the expected amout of logs' + 'The AWS module did not show the correct message about discard regex or ', + 'did not process the expected amount of logs' ), accum_results=found_logs + skipped_logs ).result()