def test_get_rdt_iface(mock_get_config, cfg, result): mock_get_config.return_value = cfg config_store = ConfigStore() assert config_store.get_rdt_iface() == result