@@ -104,7 +104,7 @@ def test_render(default_repo, capsys):
104104 """Render should render the changelog."""
105105 config = configuration .get_default_config ()
106106 config .template_dirs = []
107- output = templating .render (default_repo , config , None )
107+ output = templating .render_changelog (default_repo , config , None )
108108 expected = (FIXTURES_DIR / "rendered_default_repo.md" ).read_text ()
109109 assert output .strip () == expected .strip ()
110110
@@ -113,7 +113,7 @@ def test_render_from_tag(default_repo, capsys):
113113 """Render should render the changelog."""
114114 config = configuration .get_default_config ()
115115 config .template_dirs = []
116- output = templating .render (default_repo , config , "0.0.3" )
116+ output = templating .render_changelog (default_repo , config , "0.0.3" )
117117 expected = textwrap .dedent (
118118 """
119119 # Changelog
@@ -133,7 +133,7 @@ def test_incremental_context(default_repo, capsys):
133133 """Make sure the incremental changelog includes the previous version."""
134134 config = configuration .get_default_config ()
135135 config .template_dirs = [FIXTURES_DIR / "templates" ]
136- output = templating .render (default_repo , config , "0.0.2" )
136+ output = templating .render_changelog (default_repo , config , "0.0.2" )
137137 expected = textwrap .dedent (
138138 """
139139 # Changelog
0 commit comments