File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -952,6 +952,9 @@ def test_sets_silenced_attribute_false(self) -> None:
952952 assert is_silent (q1 ) is False
953953 assert is_silent (q2 ) is False
954954 assert is_silent (q3 ) is False
955+ assert isinstance (q1 , Silenceable )
956+ assert isinstance (q2 , Silenceable )
957+ assert isinstance (q3 , Silenceable )
955958
956959 def test_sets_silenced_attribute_true (self ) -> None :
957960 mock_settings = ScreenPySettings (UNABRIDGED_NARRATION = False )
@@ -966,6 +969,9 @@ def test_sets_silenced_attribute_true(self) -> None:
966969 assert is_silent (q1 ) is True
967970 assert is_silent (q2 ) is True
968971 assert is_silent (q3 ) is True
972+ assert isinstance (q1 , Silenceable )
973+ assert isinstance (q2 , Silenceable )
974+ assert isinstance (q3 , Silenceable )
969975
970976 def test_kinking (self , Tester : Actor , mocker : MockerFixture ) -> None :
971977 mock_clear = mocker .spy (the_narrator , "clear_backup" )
You can’t perform that action at this time.
0 commit comments