Skip to content

Commit c3fb66d

Browse files
Fix conftest.py docstring: clarify it loads test data, not fixtures
1 parent c8608f0 commit c3fb66d

File tree

4 files changed

+3
-13
lines changed
  • acceptance/bundle/templates/default-python
  • libs/template/templates/default/template/{{.project_name}}/tests

4 files changed

+3
-13
lines changed

acceptance/bundle/templates/default-python/classic/output/my_default_python/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""This file configures pytest, making sure Databricks Connect is initialized and test fixtures are available."""
1+
"""This file configures pytest, initializes Databricks Connect, and provides fixtures for Spark and loading test data."""
22

33
import os, sys, pathlib
44
from contextlib import contextmanager

acceptance/bundle/templates/default-python/serverless-customcatalog/output.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,3 @@ To get started, refer to the project README.md file and the documentation at htt
6969
+ "defaultValue": "customcatalog",
7070
"label": "Catalog",
7171
"name": "catalog",
72-
--- [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/output/my_default_python/tests/conftest.py
73-
+++ output/my_default_python/tests/conftest.py
74-
@@ -1,6 +1,3 @@
75-
-"""This file configures pytest.
76-
-
77-
-Configures Databricks Connect and provides test fixtures.
78-
-"""
79-
+"""This file configures pytest, making sure Databricks Connect is initialized and test fixtures are available."""
80-
81-
import os, sys, pathlib

acceptance/bundle/templates/default-python/serverless/output/my_default_python/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""This file configures pytest, making sure Databricks Connect is initialized and test fixtures are available."""
1+
"""This file configures pytest, initializes Databricks Connect, and provides fixtures for Spark and loading test data."""
22

33
import os, sys, pathlib
44
from contextlib import contextmanager

libs/template/templates/default/template/{{.project_name}}/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""This file configures pytest, making sure Databricks Connect is initialized and test fixtures are available."""
1+
"""This file configures pytest, initializes Databricks Connect, and provides fixtures for Spark and loading test data."""
22

33
import os, sys, pathlib
44
from contextlib import contextmanager

0 commit comments

Comments
 (0)