Skip to content

Commit

Permalink
Fix nftables tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Dec 17, 2024
1 parent 5c16c2d commit 319b806
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/firewall/nftables_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 319b806

Please sign in to comment.