@@ -103,6 +103,11 @@ def test_workflow_minimal_args(self) -> None:
103103 # this could mean that we might accidentally violate the constraints. In
104104 # practice this won't happen because we only write one row to an empty table.
105105 self .assertEqual (
106+ "Unsupported SQLAlchemy type "
107+ "<class 'sqlalchemy.dialects.postgresql.types.CIDR'> "
108+ "for column column_with_unusual_type. "
109+ "Setting this column to NULL always, "
110+ "you may want to configure a row generator for it instead.\n "
106111 "A unique constraint (ab_uniq) isn't fully covered by one "
107112 "row generator (['a']). Enforcement of the constraint may not work.\n "
108113 "A unique constraint (ab_uniq) isn't fully covered by one "
@@ -257,7 +262,14 @@ def test_workflow_maximal_args(self) -> None:
257262 capture_output = True ,
258263 env = self .env ,
259264 )
260- self .assertEqual ("" , completed_process .stderr .decode ("utf-8" ))
265+ self .assertEqual (
266+ "Unsupported SQLAlchemy type "
267+ "<class 'sqlalchemy.dialects.postgresql.types.CIDR'> "
268+ "for column column_with_unusual_type. "
269+ "Setting this column to NULL always, "
270+ "you may want to configure a row generator for it instead.\n " ,
271+ completed_process .stderr .decode ("utf-8" ),
272+ )
261273 self .assertSuccess (completed_process )
262274 self .assertEqual (
263275 f"Making { self .alt_ssg_file_path } .\n "
@@ -345,6 +357,7 @@ def test_workflow_maximal_args(self) -> None:
345357 "Generating data for table data_type_test\n "
346358 "Generating data for table no_pk_test\n "
347359 "Generating data for table person\n "
360+ "Generating data for table strange_type_table\n "
348361 "Generating data for table unique_constraint_test\n "
349362 "Generating data for table unique_constraint_test2\n "
350363 "Generating data for table test_entity\n "
@@ -358,6 +371,7 @@ def test_workflow_maximal_args(self) -> None:
358371 "Generating data for table data_type_test\n "
359372 "Generating data for table no_pk_test\n "
360373 "Generating data for table person\n "
374+ "Generating data for table strange_type_table\n "
361375 "Generating data for table unique_constraint_test\n "
362376 "Generating data for table unique_constraint_test2\n "
363377 "Generating data for table test_entity\n "
@@ -387,6 +401,7 @@ def test_workflow_maximal_args(self) -> None:
387401 "Truncating table test_entity\n "
388402 "Truncating table unique_constraint_test2\n "
389403 "Truncating table unique_constraint_test\n "
404+ "Truncating table strange_type_table\n "
390405 "Truncating table person\n "
391406 "Truncating table no_pk_test\n "
392407 "Truncating table data_type_test\n "
0 commit comments