From c2b54ed6d1dc49a908e77d5fd96a2f4e2e01f887 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 15 Apr 2022 21:36:53 +0200 Subject: salt-minion: T4364: add source-interface CLI option support --- smoketest/scripts/cli/test_service_salt.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'smoketest') diff --git a/smoketest/scripts/cli/test_service_salt.py b/smoketest/scripts/cli/test_service_salt.py index 8a8ad093c..e42aa00a8 100755 --- a/smoketest/scripts/cli/test_service_salt.py +++ b/smoketest/scripts/cli/test_service_salt.py @@ -74,7 +74,7 @@ class TestServiceSALT(VyOSUnitTestSHIM.TestCase): self.cli_set(base_path + ['hash', hash]) self.cli_set(base_path + ['id', id]) self.cli_set(base_path + ['interval', interval]) - self.cli_set(base_path + ['source_interface', interface]) + self.cli_set(base_path + ['source-interface', interface]) self.cli_commit() @@ -86,8 +86,7 @@ class TestServiceSALT(VyOSUnitTestSHIM.TestCase): self.assertIn(f'hash_type: {hash}', conf) self.assertIn(f'id: {id}', conf) self.assertIn(f'mine_interval: {interval}', conf) - self.assertIn(f'id: {interface}', conf) - self.assertIn(f'source_interface_name: {id}', conf) + self.assertIn(f'source_interface_name: {interface}', conf) if __name__ == '__main__': unittest.main(verbosity=2) -- cgit v1.2.3