Skip to content

Commit

Permalink
Make task tests more reliable (partial fix, full in c0cb1d6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Oct 4, 2024
1 parent 125d23e commit a5c2bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/python/rest_api/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3705,6 +3705,7 @@ def test_work_with_task_containing_non_stable_cloud_storage_files(


@pytest.mark.usefixtures("restore_redis_inmem_per_function")
@pytest.mark.usefixtures("restore_redis_ondisk_per_class")
class TestTaskBackups:
@pytest.fixture(autouse=True)
def setup(
Expand Down Expand Up @@ -4306,6 +4307,7 @@ def test_task_unassigned_cannot_see_task_preview(
self._test_assigned_users_cannot_see_task_preview(tasks, users, is_task_staff)


@pytest.mark.usefixtures("restore_redis_ondisk_per_class")
class TestUnequalJobs:
@pytest.fixture(autouse=True)
def setup(self, restore_db_per_function, tmp_path: Path, admin_user: str):
Expand Down

0 comments on commit a5c2bdd

Please sign in to comment.