Skip to content
Permalink
Browse files

IMP make log about tag selector appear in info level

  • Loading branch information...
bealdav committed Mar 18, 2019
1 parent d7ca035 commit f7865e0c2b28fe6fe0b0ca0f2f6dc1fe1eaeb787
Showing with 2 additions and 2 deletions.
  1. +2 −2 odoo/tests/common.py
@@ -1778,11 +1778,11 @@ def check(self, arg):
tags = getattr(arg, 'test_tags', set())
inter_no_test = self.exclude.intersection(tags)
if inter_no_test:
_logger.debug("Test '%s' not selected because it is tagged with : %s (exclusions: %s)", arg, inter_no_test, self.exclude)
_logger.info("Test '%s' not selected because it is tagged with : %s (exclusions: %s)", arg, inter_no_test, self.exclude)
return False
inter_to_test = self.include.intersection(tags)
if not inter_to_test:
_logger.debug("Test '%s' not selected because it was not tagged with %s", arg, self.include)
_logger.info("Test '%s' not selected because it was not tagged with %s", arg, self.include)
return False
_logger.debug("Test '%s' selected: tagged with %s, exclusions: %s, inclusions: %s", arg, tags, self.exclude, self.include)
return True

0 comments on commit f7865e0

Please sign in to comment.
You can’t perform that action at this time.