From 5949c9def9a2abb495f00817db8fe651191b3854 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 12 Feb 2025 22:23:36 +0100 Subject: [PATCH] Fix run-after bug in test_asset_command The PR #46682 introduced a bug in tests. This PR fixes it. --- tests/cli/commands/remote_commands/test_asset_command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cli/commands/remote_commands/test_asset_command.py b/tests/cli/commands/remote_commands/test_asset_command.py index 067bc9e8e1e2b..6a2b727dada90 100644 --- a/tests/cli/commands/remote_commands/test_asset_command.py +++ b/tests/cli/commands/remote_commands/test_asset_command.py @@ -23,6 +23,7 @@ import json import os import typing +from unittest import mock import pytest @@ -142,6 +143,7 @@ def test_cli_assets_materialize(parser: ArgumentParser) -> None: "last_scheduling_decision": None, "note": None, "run_type": "manual", + "run_after": mock.ANY, "start_date": None, "state": "queued", "triggered_by": "cli",