Chore: Completed stage 1.5
This commit is contained in:
@@ -337,14 +337,14 @@ def step_verify_change_plan_link(context):
|
||||
@then("the ChangeModel should have applied flag set to False")
|
||||
def step_verify_change_not_applied(context):
|
||||
"""Verify ChangeModel is not applied."""
|
||||
assert context.change_model.applied == False
|
||||
assert not context.change_model.applied
|
||||
assert context.change_model.applied_at is None
|
||||
|
||||
|
||||
@then("the ChangeModel should have applied flag as False by default")
|
||||
def step_verify_change_applied_default(context):
|
||||
"""Verify ChangeModel applied flag defaults to False."""
|
||||
assert context.change_model.applied == False
|
||||
assert not context.change_model.applied
|
||||
assert context.change_model.applied_at is None
|
||||
|
||||
|
||||
@@ -1396,7 +1396,7 @@ def step_update_project_settings(context):
|
||||
def step_changes_persisted(context):
|
||||
"""Verify changes persisted."""
|
||||
retrieved = context.project_repo.get_by_id(context.created_project.id)
|
||||
assert retrieved.settings.auto_build == True
|
||||
assert retrieved.settings.auto_build
|
||||
assert retrieved.settings.default_model == "gpt-4"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user