1- import pytest
21import contextlib
3- from dataclasses import dataclass
4- from pathlib import Path
52import re
3+ from dataclasses import dataclass
64from inspect import cleandoc
7- from unittest .mock import Mock , patch , call
5+ from pathlib import Path
6+ from unittest .mock import (
7+ Mock ,
8+ call ,
9+ patch ,
10+ )
11+
12+ import pytest
13+
814from exasol .toolbox .nox ._artifacts import copy_artifacts
915
1016
@@ -34,7 +40,7 @@ def test_missing_files(tmp_path, capsys):
3440 ),
3541 captured .err ,
3642 )
37- #with capsys.disabled():
43+ # with capsys.disabled():
3844 # print(captured.err)
3945
4046
@@ -44,6 +50,7 @@ class endswith:
4450 Assert that the str representation of the argument ends with the
4551 specfied suffix.
4652 """
53+
4754 suffix : str
4855
4956 def __eq__ (self , actual ):
@@ -58,12 +65,12 @@ def test_all_files(tmp_path, capsys):
5865 "coverage-python9.9-slow/.coverage" ,
5966 "lint-python9.9/.lint.txt" ,
6067 "lint-python9.9/.lint.json" ,
61- "security-python9.9/.security.json"
68+ "security-python9.9/.security.json" ,
6269 ) as session :
6370 copy_artifacts (session )
6471
6572 captured = capsys .readouterr ()
66- assert session .run .call_args == call (
73+ assert session .run .call_args == call (
6774 "coverage" ,
6875 "combine" ,
6976 "--keep" ,
0 commit comments