Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and MTSOnGithub committed Oct 3, 2023
1 parent 642c29b commit 327fde3
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_clickhouse_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=clickhouse,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_greenplum_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=greenplum,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_hive_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError):
DBReader(
connection=hive,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_mssql_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=mssql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_mysql_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=mysql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_oracle_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=oracle,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_postgres_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=postgres,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_teradata_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=teradata,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_clickhouse_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=clickhouse,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_greenplum_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=greenplum,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_hive_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=hive,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_mssql_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=mssql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_mysql_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=mysql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_oracle_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=oracle,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_postgres_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=postgres,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_teradata_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=teradata,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)

0 comments on commit 327fde3

Please sign in to comment.