Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Add test for dim capability #45

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions gits/test/capabilities_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,13 @@ def test_cap_dch1(self):
"""The terminal should have the possibility to delete a character. """
pass

def test_cap_dim(self):
"""The terminal should have the possibility to enter Half-bright mode.
"""
self._terminal._sgr = 0x01
self._terminal._cap_dim()
self.assertEqual(0x01, self._terminal._sgr)

@unittest.skip('skip')
def test_cap_dl1(self):
"""The terminal should have the possibility to delete a line. """
Expand Down Expand Up @@ -638,10 +645,6 @@ def test_cap_vpa(self):
def test_cap_bold(self):
pass

@unittest.skip('skip')
def test_cap_dim(self):
pass

@unittest.skip('skip')
def test_cap_smul(self):
pass
Expand Down