Skip to content

Commit 27ad33c

Browse files
committed
Adding failed test
1 parent 3b32b05 commit 27ad33c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/unit/source_code/linters/test_pyspark.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,6 @@ def test_spark_dynamic_sql(empty_index) -> None:
3030
sqf = SparkTableNamePyLinter(ftf, empty_index, session_state)
3131
assert not list(sqf.lint(source))
3232

33-
def test_dbfs_stuff(empty_index) -> None:
34-
source = """
35-
# Databricks notebook source
36-
# MAGIC %run ./_param_connexion_formation
37-
38-
# COMMAND ----------
39-
40-
from pyspark.sql import functions as F
41-
42-
# COMMAND ----------
43-
44-
path_dossierLIZZY = searchPathRecent('/mnt/mnt_datalake_smartCompetencies/', repLIZZY)
45-
"""
46-
session_state = CurrentSessionState()
47-
ftf = FromTableSqlLinter(empty_index, session_state)
48-
sqf = SparkTableNamePyLinter(ftf, empty_index, session_state)
49-
assert not list(sqf.lint(source))
50-
5133
def test_linter_context_python_linter_lints_table_pending_migration_with_empty_index(empty_index) -> None:
5234
source_code = """
5335
for i in range(10):

0 commit comments

Comments
 (0)