Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_default fields to templates, remove WritableSerialiserMethodFi… #1759

Merged
merged 8 commits into from
Apr 18, 2023
Prev Previous commit
Next Next commit
Fix tests
iskhakov committed Apr 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 95465fc8ae1e911484d560eb43bb078617e9ee18
Original file line number Diff line number Diff line change
@@ -376,4 +376,7 @@ def template_update_func(template):
# check if updated templates are applied
updated_templates_data = response.json()
for template_name, prev_template_value in existing_templates_data.items():
assert updated_templates_data[template_name] == template_update_func(prev_template_value)
if template_name.endswith("_is_default"):
assert updated_templates_data[template_name] is False
else:
assert updated_templates_data[template_name] == template_update_func(prev_template_value)