From 100e6e83a7348351022d5adff2a9c8787dcef5a7 Mon Sep 17 00:00:00 2001 From: Jamario Rankins Date: Sat, 11 Nov 2023 16:35:59 -0500 Subject: [PATCH] Remove display test --- tests/display_test.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/display_test.py diff --git a/tests/display_test.py b/tests/display_test.py deleted file mode 100644 index 18afce45..00000000 --- a/tests/display_test.py +++ /dev/null @@ -1,18 +0,0 @@ -from wand.display import display -from wand.image import Image - - -from unittest.mock import patch, Mock -import tempfile - - -def test_should_display_psuedo_image(): - path = tempfile.mktemp(suffix=".png") - - with Image(width=10, height=10, pseudo="xc:white", format="png") as img: - with patch("tempfile.mktemp") as mock_tempfile: - mock_tempfile.return_value = path - - display(img) - - mock_tempfile.assert_called_once_with(suffix=".png")