Fix style

This commit is contained in:
Ayaz Salikhov
2021-06-26 14:57:18 +03:00
parent 21927f8451
commit 9bf20478b6
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,8 @@ def test_inkscape(container):
"""Inkscape shall be installed to be able to convert SVG files.""" """Inkscape shall be installed to be able to convert SVG files."""
LOGGER.info("Test that inkscape is working by printing its version ...") LOGGER.info("Test that inkscape is working by printing its version ...")
c = container.run( c = container.run(
tty=True, command=["start.sh", "bash", "-c", "inkscape --version"] tty=True,
command=["start.sh", "bash", "-c", "inkscape --version"]
) )
c.wait(timeout=10) c.wait(timeout=10)
logs = c.logs(stdout=True).decode("utf-8") logs = c.logs(stdout=True).decode("utf-8")

View File

@@ -26,7 +26,8 @@ def test_check_extension(container, extension):
""" """
LOGGER.info(f"Checking the extension: {extension} ...") LOGGER.info(f"Checking the extension: {extension} ...")
c = container.run( c = container.run(
tty=True, command=["start.sh", "jupyter", "labextension", "check", extension] tty=True,
command=["start.sh", "jupyter", "labextension", "check", extension]
) )
rv = c.wait(timeout=10) rv = c.wait(timeout=10)
logs = c.logs(stdout=True).decode("utf-8") logs = c.logs(stdout=True).decode("utf-8")