Skip to content

Commit

Permalink
docker-dhcp-relay: Fix test call to MockConfigDb (#9903)
Browse files Browse the repository at this point in the history
*docker-dhcp-relay: Fix test call to MockConfigDb

Signed-off-by: Christian Svensson <blue@cmd.nu>
  • Loading branch information
bluecmd authored Feb 2, 2022
1 parent bc88535 commit 660c0cb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def test_show_dhcpv6_helper(self, test_name, test_data, fs):
fs.create_file(DBCONFIG_PATH)
MockConfigDb.set_config_db(test_data["config_db"])
runner = CliRunner()
table = MockConfigDb.get_table(self, "DHCP_RELAY")
config_db = MockConfigDb()
table = config_db.get_table("DHCP_RELAY")
result = show.get_data(table, "Vlan1000")
assert result == expected_table

0 comments on commit 660c0cb

Please sign in to comment.