diff options
| author | Hunternif | 2019-04-18 04:31:43 +0700 |
|---|---|---|
| committer | Hunternif | 2019-04-18 04:31:43 +0700 |
| commit | e74770d7b5a50ddc20882ab8f87c0a5eb4c1bf13 (patch) | |
| tree | eb2b4bdba38e6e8a67ee38a82ffbdadcda2f16b0 /server/szurubooru/tests/conftest.py | |
| parent | 5d115ad95fa7f094871c7b39c4c2bce86e659d99 (diff) | |
server/test: fix test_serialize_tag
Diffstat (limited to 'server/szurubooru/tests/conftest.py')
| -rw-r--r-- | server/szurubooru/tests/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/szurubooru/tests/conftest.py b/server/szurubooru/tests/conftest.py index 21e0f0f..8f13ebd 100644 --- a/server/szurubooru/tests/conftest.py +++ b/server/szurubooru/tests/conftest.py @@ -253,10 +253,10 @@ def post_favorite_factory(user_factory, post_factory): @pytest.fixture def metric_factory(tag_factory): - def factory(tag=None): + def factory(tag=None, min=0, max=10): if tag is None: tag = tag_factory() - return model.Metric(tag=tag, min=0, max=10) + return model.Metric(tag=tag, min=min, max=max) return factory |