Skip to content

Commit

Permalink
Test with nullable integer type
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 28, 2024
1 parent 9c25619 commit 79212a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target_postgres/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_datetime_string(self, to_postgres: JSONSchemaToPostgres):
("jsonschema", "expected"),
[
pytest.param({"type": "integer"}, BIGINT, id="default"),
pytest.param({"type": ["integer", "null"]}, BIGINT, id="default-nullable"),
pytest.param(
{"type": "integer", "maximum": 2**15 - 1},
SMALLINT,
Expand Down

0 comments on commit 79212a8

Please sign in to comment.