def test_npm_dependency_parser_restrict_versions(self, args, expected): """Test NpmDependencyParser.restrict_versions().""" dep_parser = NpmDependencyParser() assert dep_parser.restrict_versions(args) == expected
def test_npm_dependency_parser_compose(self, args, expected): """Test NpmDependencyParser.compose().""" dep_parser = NpmDependencyParser() assert dep_parser.compose(args) == expected
def test_npm_dependency_parser_parse(self, args, expected): dep_parser = NpmDependencyParser() assert dep_parser.parse(args) == expected