Simon Willison on Nostr: TIL how to use namedtuple with pytest parameterized tests to make the parameters ...
Published at
2024-08-31 17:18:53Event JSON
{
"id": "ef56084b04605383f76208ac59814a7bdbb113ceed9c227e7ce0d65d6744dbae",
"pubkey": "8b0be93ed69c30e9a68159fd384fd8308ce4bbf16c39e840e0803dcb6c08720e",
"created_at": 1725124733,
"kind": 1,
"tags": [
[
"proxy",
"https://fedi.simonwillison.net/users/simon/statuses/113057774545671961",
"activitypub"
]
],
"content": "TIL how to use namedtuple with pytest parameterized tests to make the parameters easier to read https://til.simonwillison.net/pytest/namedtuple-parameterized-tests",
"sig": "66274d34cd0af501f32c050af244cae7eeb23e76f228795e1d1a49173e927783c6cad94a4ff239cd91fbf73afa10a4465f6e0e2f82b393a43574e63d6fb2799b"
}