From a5590b4c2b2a6670ab2adb2847c5c96bfb185bfb Mon Sep 17 00:00:00 2001 From: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Thu, 19 Sep 2024 08:53:19 -0700 Subject: [PATCH] update Behavior Flag unit test fixtures (#313) --- tests/unit/test_behavior_flags.py | 36 +++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/tests/unit/test_behavior_flags.py b/tests/unit/test_behavior_flags.py index 0ae1a021..7f3abb89 100644 --- a/tests/unit/test_behavior_flags.py +++ b/tests/unit/test_behavior_flags.py @@ -19,12 +19,36 @@ def flags() -> Dict[str, Any]: @pytest.fixture def behavior_flags() -> List[BehaviorFlag]: return [ - {"name": "default_false_user_false_flag", "default": False}, - {"name": "default_false_user_true_flag", "default": False}, - {"name": "default_false_user_skip_flag", "default": False}, - {"name": "default_true_user_false_flag", "default": True}, - {"name": "default_true_user_true_flag", "default": True}, - {"name": "default_true_user_skip_flag", "default": True}, + { + "name": "default_false_user_false_flag", + "default": False, + "docs_url": "https://docs.com", + }, + { + "name": "default_false_user_true_flag", + "default": False, + "description": "This is a false flag.", + }, + { + "name": "default_false_user_skip_flag", + "default": False, + "description": "This is a true flag.", + }, + { + "name": "default_true_user_false_flag", + "default": True, + "description": "This is fake news.", + }, + { + "name": "default_true_user_true_flag", + "default": True, + "docs_url": "https://moar.docs.com", + }, + { + "name": "default_true_user_skip_flag", + "default": True, + "description": "This is a true flag.", + }, ]