mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 20:12:58 +00:00
pre-commit: run black autoformatter on all files
This commit is contained in:

committed by
Erik Sundell

parent
a99a182940
commit
fe3968efe0
@@ -9,10 +9,9 @@ LOGGER = logging.getLogger(__name__)
|
||||
def test_spark_shell(container):
|
||||
"""Checking if Spark (spark-shell) is running properly"""
|
||||
c = container.run(
|
||||
tty=True,
|
||||
command=['start.sh', 'bash', '-c', 'spark-shell <<< "1+1"']
|
||||
tty=True, command=["start.sh", "bash", "-c", 'spark-shell <<< "1+1"']
|
||||
)
|
||||
c.wait(timeout=60)
|
||||
logs = c.logs(stdout=True).decode('utf-8')
|
||||
logs = c.logs(stdout=True).decode("utf-8")
|
||||
LOGGER.debug(logs)
|
||||
assert 'res0: Int = 2' in logs, "spark-shell does not work"
|
||||
assert "res0: Int = 2" in logs, "spark-shell does not work"
|
||||
|
Reference in New Issue
Block a user