From 4f8ae0d3d51b62caeec856386844074f38935b87 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 13 Apr 2022 07:13:44 +0200 Subject: smoketest: ids: bugfix AttributeError AttributeError: 'list' object has no attribute 'join' --- smoketest/scripts/cli/test_service_ids.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smoketest/scripts/cli/test_service_ids.py b/smoketest/scripts/cli/test_service_ids.py index e5f7ca071..ddb42e8f8 100755 --- a/smoketest/scripts/cli/test_service_ids.py +++ b/smoketest/scripts/cli/test_service_ids.py @@ -87,7 +87,8 @@ class TestServiceIDS(VyOSUnitTestSHIM.TestCase): self.assertIn(f'ban_for_pps = on', config) self.assertIn(f'threshold_pps = {pps}', config) - self.assertIn(f'interfaces = {interfaces.join(",")}', config) + tmp = ','.join(interfaces) + self.assertIn(f'interfaces = {tmp}', config) if __name__ == '__main__': unittest.main(verbosity=2) -- cgit v1.2.3