---
title: "Алексей Каллистов (@mailakallistov) | Hashnode"
description: "Алексей Каллистов (@mailakallistov) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@mailakallistov"
---

@mailakallistov

# Алексей Каллистов

@mailakallistov · Joined January 2021

## Comments

[Hello! And what could you suggest, if I need to use in parametrization a fixture, which returns unpredictable number of values? Of course, we could use it in parametrization as a regular Python function, but what if it's impossible? For example, this question is discussed here, but no solution was found: https://github.com/pytest-dev/pytest/issues/349 In my case, I definitely need a fixture and not a regular function, because parametrized value depends on HTTP service response. Here is example code which matches my case: https://pastebin.com/gLn1CrAa Of course, it doesn't work, because I'm trying to use fixture directly in mark.parametrize. Maybe, there is some suitable solution?](https://hashnode.com/posts/how-to-use-fixtures-as-arguments-in-pytestmarkparametrize/5fb8ef570ae19203f6d92a80/comment/6006b577b2c54030097c3f38)

Comment · Article · Jan 19, 2021 · [How to Use Fixtures as Arguments in pytest.mark.parametrize](https://hashnode.com/posts/how-to-use-fixtures-as-arguments-in-pytestmarkparametrize/5fb8ef570ae19203f6d92a80)
