Skip to content

Commit

Permalink
ok, these broke tests for whatever reasons... leaving them alone.
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Jan 25, 2023
1 parent d773584 commit 8ef3097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration_tests/db_engine_specs/hive_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def test_where_latest_partition(mock_method):
"test_table", "test_schema", db, select(), columns
)
query_result = str(result.compile(compile_kwargs={"literal_binds": True}))
assert "SELECT \nWHERE ds = '01-01-19' AND hour = 1" == query_result
assert "SELECT \nWHERE ds = '01-01-19' AND hour = 1" == query_result


@mock.patch("superset.db_engine_specs.presto.PrestoEngineSpec.latest_partition")
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/db_engine_specs/presto_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def test_presto_where_latest_partition(self):
"test_table", "test_schema", db, select(), columns
)
query_result = str(result.compile(compile_kwargs={"literal_binds": True}))
self.assertEqual("SELECT \nWHERE ds = '01-01-19' AND hour = 1", query_result)
self.assertEqual("SELECT \nWHERE ds = '01-01-19' AND hour = 1", query_result)

def test_query_cost_formatter(self):
raw_cost = [
Expand Down

0 comments on commit 8ef3097

Please sign in to comment.