diff --git a/cat_win/tests/test_cat.py b/cat_win/tests/test_cat.py index 084d6d04..c745c843 100644 --- a/cat_win/tests/test_cat.py +++ b/cat_win/tests/test_cat.py @@ -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 diff --git a/cat_win/tests/test_full.py b/cat_win/tests/test_full.py index 40ae6271..958698ca 100644 --- a/cat_win/tests/test_full.py +++ b/cat_win/tests/test_full.py @@ -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 diff --git a/cat_win/tests/test_shell.py b/cat_win/tests/test_shell.py index 1fcbaab4..1b3e88a2 100644 --- a/cat_win/tests/test_shell.py +++ b/cat_win/tests/test_shell.py @@ -11,6 +11,8 @@ @patch('cat_win.cat.sys.argv', ['']) @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