• Jérome Perrin's avatar
    fixup! NEO: add support for SQLite backend · e44932b0
    Jérome Perrin authored
    We no enforce formatting of json schema, this was causing a test
    failure:
    ```
    
    ======================================================================
    FAIL: test_schema_neoppod_instance_neo_input_schema_json_format (slapos.test.test_json_schema.TestJSONSchemaValidation)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/srv/slapgrid/slappart0/srv/testnode/bpy/inst/test0-0/parts/slapos.cookbook/slapos/test/test_json_schema.py", line 80, in run
        content.splitlines())
    AssertionError: Lists differ: ['{', '  "$schema": "http://js... != ['{', '  "$schema": "http://js...
    
    First differing element 87:
    '            "description": "Storage type. Defaults to MySQL if available, else SQLite.",'
    '              "description": "Storage type. Defaults to MySQL if available, else SQLite.",'
    
    First list contains 3 additional elements.
    First extra element 119:
    '  },'
    
    Diff is 5422 characters long. Set self.maxDiff to None to see it.
    
    ----------------------------------------------------------------------
    ```
    
    /reviewed-on nexedi/slapos!482
    e44932b0
Name
Last commit
Last update
component Loading commit data...
slapos Loading commit data...
software Loading commit data...
stack Loading commit data...
.gitignore Loading commit data...
CHANGES.rst Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
README.software.rst Loading commit data...
format-json Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
schema.json Loading commit data...
setup.py Loading commit data...
sla.schema.json Loading commit data...
update-hash Loading commit data...
update-hash-mergetool Loading commit data...
validate-schema Loading commit data...