Skip to content

Commit

Permalink
test: update test_image_toast for ToastImagePosition
Browse files Browse the repository at this point in the history
  • Loading branch information
DatGuy1 committed Aug 13, 2023
1 parent ad756b2 commit eab6f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_toasts.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ def test_errors_toast(example_image_path):


def test_image_toast(example_image_path):
from src.windows_toasts import ToastDisplayImage, ToastImage, ToastImageAndText4
from src.windows_toasts import ToastDisplayImage, ToastImage, ToastImageAndText4, ToastImagePosition

toastImage = ToastImage(example_image_path)
toastDP = ToastDisplayImage(toastImage, altText="Windows logo", large=True)
toastDP = ToastDisplayImage(toastImage, altText="Windows logo", position=ToastImagePosition.Hero)
newToast = ToastImageAndText4(images=(toastDP,))

newToast.SetHeadline("Hello, World!")
Expand Down

0 comments on commit eab6f67

Please sign in to comment.