Skip to content

Commit

Permalink
style(#3963): fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Deblintrake09 committed Aug 4, 2023
1 parent 4ba65f1 commit 2445f05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions deps/wazuh_testing/wazuh_testing/modules/fim/event_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@
ERR_MSG_WHODATA_REALTIME_MODE_CHANGE_EVENT = 'Expected "directory starts to monitored in real-time" event not received'




def create_error_message(message, source=LOG_FILE_PATH):
"""
Creates an error message from an event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_audit_buffer_no_overflow(configuration, metadata, test_folders, set_waz
- Verify all files are detected in whodata mode
input_description: The file 'configuration_audit_buffer_behavior' provides the configuration template.
The file 'cases_audit_buffer_no_overflow.yaml' provides the test cases details for each test case.
The file 'cases_audit_buffer_no_overflow.yaml' provides the test cases details for each case.
expected_output:
- r".*(Internal audit queue is full). Some events may be lost. Next scheduled scan will recover lost data."
Expand Down Expand Up @@ -205,8 +205,8 @@ def test_audit_buffer_no_overflow(configuration, metadata, test_folders, set_waz
@pytest.mark.parametrize('configuration, metadata', zip(t2_configurations, t2_configuration_metadata),
ids=t2_test_case_ids)
def test_audit_buffer_overflow(configuration, metadata, test_folders, set_wazuh_configuration,
create_monitored_folders_module, configure_local_internal_options_function,
restart_syscheck_function, wait_syscheck_start):
create_monitored_folders_module, configure_local_internal_options_function,
restart_syscheck_function, wait_syscheck_start):
'''
description: Check that when files are exceeding the whodata "queue_size" value the queue overflows, and the
excess files files are detected in scheduled mode, and after the next scheduled scan.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def test_audit_buffer_over_time_no_overflow(configuration, metadata, test_folder
@pytest.mark.parametrize('configuration, metadata', zip(t2_configurations, t2_configuration_metadata),
ids=t2_test_case_ids)
def test_audit_buffer_overflow(configuration, metadata, test_folders, set_wazuh_configuration,
create_monitored_folders, configure_local_internal_options_function,
restart_syscheck_function, wait_syscheck_start):
create_monitored_folders, configure_local_internal_options_function,
restart_syscheck_function, wait_syscheck_start):
'''
description: This test validates the behavior of "queue_size" in tandem with "max_eps". Check that when files are
added causing whodata queue to overflow, and after some files are processed, if new files are added
Expand Down

0 comments on commit 2445f05

Please sign in to comment.