Simulating single and multiple inputs using pyTest and monkeypatch

Pavol Kutaj
Mar 18, 2021

--

The aim of this how-to-guide🏁 is to show how inputs can be simulated in pytest unit tests using monkeypatch. This applies for both a single and multiple inputs

1. SINGLE INPUT

2. MULTIPLE INPUTS

3. SOURCES

--

--

Pavol Kutaj

Today I Learnt | Infrastructure Support Engineer at snowplow.io with a passion for cloud infrastructure/terraform/python/docs. More at https://pavol.kutaj.com