def test_that_a_source_distributions_name_is_canonicalized( logger: Logger, requirement_parser: RequirementParser): distribution = SourceDistribution(name="NaMe_teSt", logger=logger, requirement_parser=requirement_parser) assert distribution.name == "name-test"
def test_that_a_source_distributions_name_is_canonicalized(logger): distribution = SourceDistribution(name="NaMe_teSt", logger=logger) assert distribution.name == "name-test"