We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8d213 commit 30a9ad1Copy full SHA for 30a9ad1
tests/unit/progress/test_install.py
@@ -5,3 +5,10 @@ def test_history_installation_run_creates_history_schema(mock_backend) -> None:
5
installation = HistoryInstallation(mock_backend, "ucx")
6
installation.run()
7
assert "CREATE SCHEMA IF NOT EXISTS `ucx`.`history`" == mock_backend.queries[0]
8
+
9
10
+def test_history_installation_run_creates_history_records_table(mock_backend) -> None:
11
+ installation = HistoryInstallation(mock_backend, "ucx")
12
+ installation.run()
13
+ # Dataclass to schema conversion is tested within the lsql package
14
+ assert "CREATE TABLE IF NOT EXISTS `ucx`.`history`.`records`" in mock_backend.queries[1]
0 commit comments