Skip to content

Basic validation of object broken #142

@rodsenra

Description

@rodsenra

Dear friends,

I have wrote the following test case in test_jsonschema_test_suite.py in class TestDraft4.

def test_valid_object(self):
    self.assertTrue(validate({'resource_id': 'esportes'},
                                 {"title": "Some schema",
                                  "type": "object",
                                    "properties": {
                                        "resource_id": {
                                            "type": "string"
                                        }
                                    }
                                  }))

Failing with:
E AssertionError: None is not True

This instance and json-schema pass validation in [1]
[1] http://json-schema-validator.herokuapp.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions