Skip to content

Commit

Permalink
removed color output from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Jan 15, 2024
1 parent 33dde02 commit ccd1ca7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions cat_win/tests/test_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
test_file_content = f.read().split('\n')


@patch('cat_win.cat.default_color_dic', dict.fromkeys(cat.color_dic, ''))
@patch('cat_win.cat.color_dic', dict.fromkeys(cat.color_dic, ''))
class TestCat(TestCase):
maxDiff = None
Expand Down
2 changes: 2 additions & 0 deletions cat_win/tests/test_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@


@patch('cat_win.cat.sys.stdin', StdInMock())
@patch('cat_win.cat.default_color_dic', dict.fromkeys(cat.color_dic, ''))
@patch('cat_win.cat.color_dic', dict.fromkeys(cat.color_dic, ''))
class TestCatFull(TestCase):
maxDiff = None

Expand Down
2 changes: 2 additions & 0 deletions cat_win/tests/test_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

@patch('cat_win.cat.sys.argv', ['<CAT>'])
@patch('cat_win.cat.stdinhelper.get_stdin_content', stdinhelpermock.get_stdin_content)
@patch('cat_win.cat.default_color_dic', dict.fromkeys(cat.color_dic, ''))
@patch('cat_win.cat.color_dic', dict.fromkeys(cat.color_dic, ''))
class TestShell(TestCase):
maxDiff = None

Expand Down

0 comments on commit ccd1ca7

Please sign in to comment.