make sure no errors are printed
This commit is contained in:
parent
cf1711ca08
commit
1f4eb421db
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ from wakatime.packages.requests.models import Response
|
|||
import logging
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
from testfixtures import log_capture
|
||||
|
@ -345,6 +346,9 @@ class LanguagesTestCase(utils.TestCase):
|
|||
|
||||
execute(args)
|
||||
|
||||
self.assertEquals(sys.stdout.getvalue(), '')
|
||||
self.assertEquals(sys.stderr.getvalue(), '')
|
||||
|
||||
output = [u(' ').join(x) for x in logs.actual()]
|
||||
expected = u('WakaTime WARNING Regex error (unexpected end of regular expression) for projectmap pattern: invalid[({regex')
|
||||
if self.isPy35:
|
||||
|
|
Loading…
Reference in a new issue