Skip to content

Commit

Permalink
update config file integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyaGomaa committed Oct 3, 2024
1 parent 8780a0e commit 77d06a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slips/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def update_stats(self):
f"\r[{now}] Analyzed IPs: {green(profiles_len)}. "
f"{self.get_analyzed_flows_percentage()}"
f"Evidence: {green(evidence_number)}. "
f"Last {self.twid_width} number of IPs:"
f"Last ({self.twid_width}) number of IPs:"
f" {green(modified_ips_in_the_last_tw)}. "
)
self.print(stats)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/test_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_conf_file(pcap_path, expected_profiles, output_dir, redis_port):
assert is_evidence_present(log_file, disabled_evidence) is False
print("Testing time_window_width param.")
# testing time_window_width param in the configuration file
assert check_for_text("in the last 115740 days", output_dir) is True
assert check_for_text("115740 days 17 hrs 46 mins 39 seconds", output_dir)

print("Make sure slips didn't delete zeek files.")
# test delete_zeek_files param
Expand Down

0 comments on commit 77d06a3

Please sign in to comment.