|
|
@ -2,6 +2,7 @@ import hashlib
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
import shutil
|
|
|
|
import shutil
|
|
|
|
from contextlib import contextmanager
|
|
|
|
from contextlib import contextmanager
|
|
|
|
|
|
|
|
from distutils.dir_util import copy_tree
|
|
|
|
from pathlib import Path
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
|
|
|
import pytest
|
|
|
|
import pytest
|
|
|
@ -80,6 +81,9 @@ def _process_tested(fixture_test_path, test_name):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
|
|
|
|
copy_tree(
|
|
|
|
|
|
|
|
str(fixture_test_path / "actual"), str(fixture_test_path / "recorded")
|
|
|
|
|
|
|
|
)
|
|
|
|
if (fixture_test_path / "diff.html").exists():
|
|
|
|
if (fixture_test_path / "diff.html").exists():
|
|
|
|
(fixture_test_path / "diff.html").unlink()
|
|
|
|
(fixture_test_path / "diff.html").unlink()
|
|
|
|
|
|
|
|
|
|
|
|