Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
moomindani committed Nov 10, 2023
1 parent befb4d1 commit 1317e89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ black==23.11.0
waiter
boto3
moto~=4.2.7
pyparsing

dbt-core~=1.7.1
dbt-spark~=1.7.1
Expand Down
Empty file.
8 changes: 4 additions & 4 deletions tests/unit/test_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def setUp(self):
"region": "us-east-1",
"workers": 2,
"worker_type": "G.1X",
"schema": "dbt_functional_test_01",
"database": "dbt_functional_test_01",
"schema": "dbt_unit_test_01",
"database": "dbt_unit_test_01",
}
},
"target": "test",
Expand All @@ -59,7 +59,7 @@ def test_glue_connection(self):

self.assertEqual(connection.state, "open")
self.assertEqual(connection.type, "glue")
self.assertEqual(connection.credentials.schema, "dbt_functional_test_01")
self.assertEqual(connection.credentials.schema, "dbt_unit_test_01")
self.assertIsNotNone(connection.handle)


Expand Down Expand Up @@ -87,7 +87,7 @@ def test_hudi_merge_table(self):
config = self._get_config()
adapter = GlueAdapter(config)
target_relation = SparkRelation.create(
schema="dbt_functional_test_01",
schema="dbt_unit_test_01",
name="test_hudi_merge_table",
)
with mock.patch("dbt.adapters.glue.connections.open"):
Expand Down

0 comments on commit 1317e89

Please sign in to comment.