diff --git a/CHANGELOG.md b/CHANGELOG.md index a66bf6ebd..416e0c211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Added `pytest-mock` as a development dependency - Make `test_snapshot.py::test_snapshot_serializes_unserializable_value` able to run on Windows. - Added GitHub Action workflow for automatically publishing releases to PyPI +- Update `SnapshotTracer` tests to use `memory-viz@0.5.0` and prevent browser from opening ## [2.8.1] - 2024-08-19 diff --git a/tests/test_debug/test_snapshot_tracer.py b/tests/test_debug/test_snapshot_tracer.py index cfc394868..1b790e134 100644 --- a/tests/test_debug/test_snapshot_tracer.py +++ b/tests/test_debug/test_snapshot_tracer.py @@ -15,7 +15,7 @@ os.path.dirname(os.path.realpath(__file__)), "snapshot_tracer_testing_snapshots" ) MEMORY_VIZ_ARGS = ["--roughjs-config", "seed=12345"] -MEMORY_VIZ_VERSION = "0.4.0" +MEMORY_VIZ_VERSION = "0.5.0" # Function inputs for testing the SnapshotTracer @@ -237,7 +237,7 @@ def test_no_output_directory(self, snapshot, setup_curr_dir_testing): {"snapshot-0.svg": actual_file.read()}, func_no_output_dir.__name__ ) - def test_generated_webstepper_html(self, snapshot, tmp_path): + def test_generated_webstepper_html(self, snapshot, tmp_path, prevent_webbrowser_and_httpserver): """ Test that SnapshotTracer generates the correct Webstepper HTML for the given code.