Smarter upgrades of node type definitions

- No changes are applied unless the new --go CLI arg is used.
- Differences to node types are actually shown.
- Dynamic form definitions are kept.
This commit is contained in:
2018-03-27 11:48:40 +02:00
parent dee0b18429
commit d24715a224
3 changed files with 53 additions and 28 deletions

View File

@@ -293,7 +293,7 @@ class ReplaceNodeTypesTest(AbstractNodeReplacementTest):
# Run the CLI command
with self.app.test_request_context():
replace_pillar_node_type_schemas(proj_url=self.proj['url'])
replace_pillar_node_type_schemas(project_url=self.proj['url'])
# Fetch the project again from MongoDB
dbproj = self.fetch_project_from_db()