Skip to content

Commit

Permalink
Merge branch 'hotfix/1.7.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalloc committed Mar 11, 2019
2 parents c370dd0 + daa618a commit 2974d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changelog
=========

* :release:`1.7.9 <09-03-2019>`
* :bug:`-` Revert console coloring change, as it does not behave consistently across different terminals
* :release:`1.7.8 <04-03-2019>`
* :bug:`925` Fix background color for session start and test collection messages
* :bug:`926` Return code for failed sessions was changed to 1 (from -1)
Expand Down
4 changes: 2 additions & 2 deletions slash/reporting/console_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ def _report_num_collected(self, collected, stillworking):
return

self._terminal.write('{} tests collected{}'.format(
len(collected), '...' if stillworking else ' \n'), white=True, bold=True, Black=True)
len(collected), '...' if stillworking else ' \n'), white=True, bold=True)

def _is_verbose(self, level):
return self._level <= level

@from_verbosity(VERBOSITIES.ERROR)
def report_session_start(self, session):
self._terminal.sep('=', 'Session starts', white=True, bold=True, Black=True)
self._terminal.sep('=', 'Session starts', white=True, bold=True)

def report_session_end(self, session):

Expand Down

0 comments on commit 2974d69

Please sign in to comment.