summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-24 22:12:19 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-25 23:27:15 +0100
commit015e26acc8ed65b6a7d778107a83ee8604950f90 (patch)
tree7cc2810b6061d5251b0d82103e72896680d67a9f /smoketest
parent4abca54698edb09b76e7d059dd35cdcef3512ec4 (diff)
downloadvyos-1x-015e26acc8ed65b6a7d778107a83ee8604950f90.tar.gz
vyos-1x-015e26acc8ed65b6a7d778107a83ee8604950f90.zip
flow-accounting: T4097: move to get_config_dict()
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_system_flow-accounting.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_system_flow-accounting.py b/smoketest/scripts/cli/test_system_flow-accounting.py
index 57866a198..f3bed635c 100755
--- a/smoketest/scripts/cli/test_system_flow-accounting.py
+++ b/smoketest/scripts/cli/test_system_flow-accounting.py
@@ -201,11 +201,11 @@ class TestSystemFlowAccounting(VyOSUnitTestSHIM.TestCase):
uacctd = read_file(uacctd_conf)
- tmp = 'plugins: '
+ tmp = []
+ tmp.append('memory')
for server, server_config in netflow_server.items():
- tmp += f'nfprobe[nf_{server}],'
- tmp += 'memory'
- self.assertIn(f'{tmp}', uacctd)
+ tmp.append(f'nfprobe[nf_{server}]')
+ self.assertIn('plugins: ' + ','.join(tmp), uacctd)
for server, server_config in netflow_server.items():
self.assertIn(f'nfprobe_engine[nf_{server}]: {engine_id}', uacctd)