• 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
..
cluster.cfg.in Loading commit data...
instance-common.cfg.in Loading commit data...
instance-neo-admin.cfg.in Loading commit data...
instance-neo-input-schema.json Loading commit data...
instance-neo-master.cfg.in Loading commit data...
instance-neo-output-schema.json Loading commit data...
instance-neo.cfg.in Loading commit data...
instance.cfg.in Loading commit data...
my.cnf.in Loading commit data...
root-common.cfg.in Loading commit data...
runTestSuite.in Loading commit data...
software-common.cfg Loading commit data...
software-zodb3.cfg Loading commit data...
software-zodb5.cfg Loading commit data...
software.cfg Loading commit data...
sqlite-mixin.cfg Loading commit data...