Created
May 10, 2024 10:10
-
-
Save sivakov512/1b66e021d88776701226ad2804fb1c61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@pytest.fixture | |
def my_pretty_fixture(): | |
def inner(url_part, param): | |
url = f"{url_part}/azaza/{param}" | |
response = requests.post(url) | |
return response.json() | |
return inner | |
def test_puk(my_pretty_fixture): | |
got = my_pretty_fixture("url/part", "param0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment