Skip to content

Commit 79212a8

Browse files
Test with nullable integer type
1 parent 9c25619 commit 79212a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

target_postgres/tests/test_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def test_datetime_string(self, to_postgres: JSONSchemaToPostgres):
5656
("jsonschema", "expected"),
5757
[
5858
pytest.param({"type": "integer"}, BIGINT, id="default"),
59+
pytest.param({"type": ["integer", "null"]}, BIGINT, id="default-nullable"),
5960
pytest.param(
6061
{"type": "integer", "maximum": 2**15 - 1},
6162
SMALLINT,

0 commit comments

Comments
 (0)