def test_parse_address_family_empty() -> None:
Test that parsing an empty BUILD file results in an empty AddressFamily.
address_mapper = AddressMapper(parser=Parser(SymbolTable({}), BuildFileAliases()))
af = run_rule(
parse_address_family,
rule_args=[address_mapper, BuildFilePreludeSymbols(FrozenDict()), Dir("/dev/null")],
After Change
def test_parse_address_family_empty() -> None:
Test that parsing an empty BUILD file results in an empty AddressFamily.
address_mapper = AddressMapper(
parser=Parser(target_type_aliases=[], object_aliases=BuildFileAliases())
)
af = run_rule(
parse_address_family,