Skip to content

Commit

Permalink
update Behavior Flag unit test fixtures (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt authored Sep 19, 2024
1 parent db11adc commit a5590b4
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions tests/unit/test_behavior_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
},
]


Expand Down

0 comments on commit a5590b4

Please sign in to comment.