Fixed tests failing in gnome-terminal.

This commit is contained in:
Andrew Hamilton 2016-10-26 13:43:02 +02:00
parent 54166ed195
commit cff347ae77
4 changed files with 8 additions and 1 deletions

2
BUGS
View file

@ -13,7 +13,6 @@ Current
- When shutting down "Exception ignored in:" noise appears. Four messages - When shutting down "Exception ignored in:" noise appears. Four messages
for every worker running. This started with the move to asyncio for the for every worker running. This started with the move to asyncio for the
workers. workers.
- The tests fail when run in gnome-terminal.
Current (tool related) Current (tool related)
@ -234,6 +233,7 @@ Fixed
<- Now vigil always gets sudo. <- Now vigil always gets sudo.
- Some results are always missing their contents and are showing "?". - Some results are always missing their contents and are showing "?".
e.g. golden-files/results/uncrustify-hello_c <- contents and metadata e.g. golden-files/results/uncrustify-hello_c <- contents and metadata
- The tests fail when run in gnome-terminal.
Won't fix Won't fix

View file

@ -3,9 +3,12 @@
# Copyright (C) 2015-2016 Andrew Hamilton. All rights reserved. # Copyright (C) 2015-2016 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.
import os
import pickle import pickle
import unittest import unittest
os.environ["TERM"] = "st-256color"
from termstr import TermStr, CharStyle from termstr import TermStr, CharStyle
import termstr import termstr

View file

@ -9,6 +9,8 @@ import subprocess
import unittest import unittest
import unittest.mock import unittest.mock
os.environ["TERM"] = "st-256color"
import fill3 import fill3
import golden import golden
import tools import tools

View file

@ -13,6 +13,8 @@ import unittest
import psutil import psutil
os.environ["TERM"] = "st-256color"
import fill3 import fill3
import golden import golden
import vigil import vigil