Skip to content

Commit 014c826

Browse files
committed
minor issues
1 parent 111795c commit 014c826

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

learn-pr/language/python-advanced-pytest/6-knowledge-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.python-advanced-pytest.knowledge-check
33
title: Module assessment
44
metadata:
55
title: Module assessment
6-
description: Check your knowledge about pytest parametrization, fixtures, fixture scope, yield-based cleanup, and monkeypatch.
6+
description: Check your knowledge about pytest parameterization, fixtures, fixture scope, yield-based cleanup, and monkeypatch.
77
ms.date: 04/20/2026
88
author: alfredodeza
99
ms.author: orthomas
@@ -31,7 +31,7 @@ quiz:
3131
choices:
3232
- content: "When the same test logic should run for several input values or input/expected-value pairs."
3333
isCorrect: true
34-
explanation: "Correct. Parametrization replaces a `for` loop or near-duplicate test functions with one test that pytest collects as a separate test case for each parameter set."
34+
explanation: "Correct. Parameterization replaces a `for` loop or near-duplicate test functions with one test that pytest collects as a separate test case for each parameter set."
3535
- content: "When unrelated behaviors need to be checked in one test function."
3636
isCorrect: false
3737
explanation: "Incorrect. Parametrize is best when each case exercises the same behavior. Unrelated behaviors should usually be separate tests."

learn-pr/language/python-advanced-pytest/index.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ metadata:
88
author: alfredodeza
99
ms.author: orthomas
1010
ms.topic: module
11+
ms.service: azure
1112
title: Advanced testing with pytest
1213
summary: Use parametrization, fixtures, and the monkeypatch fixture to write pytest tests with reusable setup and isolated state.
1314
abstract: |

0 commit comments

Comments
 (0)