From 319b806e7bb70e9e23c579707231b50750423ca1 Mon Sep 17 00:00:00 2001 From: badrogger Date: Tue, 17 Dec 2024 12:10:24 +0000 Subject: [PATCH] Fix nftables tests --- tests/firewall/nftables_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/firewall/nftables_test.py b/tests/firewall/nftables_test.py index 06dc1d52..0ee564ec 100644 --- a/tests/firewall/nftables_test.py +++ b/tests/firewall/nftables_test.py @@ -22,8 +22,9 @@ def filter_table(nf_test_tables): @pytest.fixture def custom_chain(nf_test_tables, filter_table): - nf_test_tables.cmd('add chain inet firewall test-chain') - return 'test-chain' + name = 'test-chain' + nf_test_tables.cmd('add chain inet firewall skale-{name}') + return name def test_nftables_controller(custom_chain):