@@ -211,7 +211,7 @@ def test_connect_secret_manager(dbname):
211
211
212
212
def test_insert_with_column_names (mysql_table , mysql_con ):
213
213
create_table_sql = (
214
- f"CREATE TABLE test.{ mysql_table } " " (c0 varchar(100) NULL, " " c1 INT DEFAULT 42 NULL, " " c2 INT NOT NULL);"
214
+ f"CREATE TABLE test.{ mysql_table } (c0 varchar(100) NULL, c1 INT DEFAULT 42 NULL, c2 INT NOT NULL);"
215
215
)
216
216
with mysql_con .cursor () as cursor :
217
217
cursor .execute (create_table_sql )
@@ -236,7 +236,7 @@ def test_insert_with_column_names(mysql_table, mysql_con):
236
236
237
237
def test_upsert_distinct (mysql_table , mysql_con ):
238
238
create_table_sql = (
239
- f"CREATE TABLE test.{ mysql_table } " " (c0 varchar(100) NULL, " " c1 INT DEFAULT 42 NULL, " " c2 INT NOT NULL);"
239
+ f"CREATE TABLE test.{ mysql_table } (c0 varchar(100) NULL, c1 INT DEFAULT 42 NULL, c2 INT NOT NULL);"
240
240
)
241
241
with mysql_con .cursor () as cursor :
242
242
cursor .execute (create_table_sql )
@@ -276,10 +276,7 @@ def test_upsert_distinct(mysql_table, mysql_con):
276
276
277
277
def test_upsert_duplicate_key (mysql_table , mysql_con ):
278
278
create_table_sql = (
279
- f"CREATE TABLE test.{ mysql_table } "
280
- "(c0 varchar(100) PRIMARY KEY, "
281
- "c1 INT DEFAULT 42 NULL, "
282
- "c2 INT NOT NULL);"
279
+ f"CREATE TABLE test.{ mysql_table } (c0 varchar(100) PRIMARY KEY, c1 INT DEFAULT 42 NULL, c2 INT NOT NULL);"
283
280
)
284
281
with mysql_con .cursor () as cursor :
285
282
cursor .execute (create_table_sql )
@@ -319,10 +316,7 @@ def test_upsert_duplicate_key(mysql_table, mysql_con):
319
316
320
317
def test_upsert_replace (mysql_table , mysql_con ):
321
318
create_table_sql = (
322
- f"CREATE TABLE test.{ mysql_table } "
323
- "(c0 varchar(100) PRIMARY KEY, "
324
- "c1 INT DEFAULT 42 NULL, "
325
- "c2 INT NOT NULL);"
319
+ f"CREATE TABLE test.{ mysql_table } (c0 varchar(100) PRIMARY KEY, c1 INT DEFAULT 42 NULL, c2 INT NOT NULL);"
326
320
)
327
321
with mysql_con .cursor () as cursor :
328
322
cursor .execute (create_table_sql )
@@ -375,10 +369,7 @@ def test_dfs_are_equal_for_different_chunksizes(mysql_table, mysql_con, chunksiz
375
369
376
370
def test_ignore (mysql_table , mysql_con ):
377
371
create_table_sql = (
378
- f"CREATE TABLE test.{ mysql_table } "
379
- "(c0 varchar(100) PRIMARY KEY, "
380
- "c1 INT DEFAULT 42 NULL, "
381
- "c2 INT NOT NULL);"
372
+ f"CREATE TABLE test.{ mysql_table } (c0 varchar(100) PRIMARY KEY, c1 INT DEFAULT 42 NULL, c2 INT NOT NULL);"
382
373
)
383
374
with mysql_con .cursor () as cursor :
384
375
cursor .execute (create_table_sql )
0 commit comments