From 60cd943bb911d7f474472f3a15ca6c71f0e03d4f Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Sun, 29 Oct 2023 18:13:43 +1100 Subject: [PATCH] docs: result variable was not defined (#47) --- docs/usage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 824f5d9..311cd49 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -42,10 +42,10 @@ Use the following code in your test file to generate the project with all the de .. code-block:: python def test_template(copie): - res = copie.copy() + result = copie.copy() - assert res.exit_code == 0 - assert res.exception is None + assert result.exit_code == 0 + assert result.exception is None assert result.project_dir.name == "foobar" assert result.project_dir.is_dir()