From 839057f04f55ca3e765cbb397c1b2313fda82f52 Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Tue, 23 May 2023 17:30:17 +0200 Subject: [PATCH] fix typo: variable deleted by black --- tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 73b881b..31d578f 100644 --- a/tests.py +++ b/tests.py @@ -180,6 +180,7 @@ def test_install_environment(tmp_path): with open(build_log, "r") as f: lines = f.read() assert "##### Installation finished" in lines + build_log_file_name = os.path.basename(build_log) # assert that install log files exists assert os.path.exists(release_base_dir / "install.log") @@ -189,7 +190,7 @@ def test_install_environment(tmp_path): with open(release_base_dir / "install.log", "r") as f: lines = f.read() assert ( - "installing {toolchain_to_test} and logging at logs/{build_log_file_name}" + f"installing {toolchain_to_test} and logging at logs/{build_log_file_name}" in lines ) # assert that the module files are created correctly -- GitLab