Skip to content

Commit

Permalink
fix informational message when indy tests are skipped
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
andrewwhitehead committed Jul 17, 2019
1 parent 74f3057 commit f519fed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conftest.py
Expand Up @@ -20,9 +20,11 @@ def pytest_sessionstart(session):

INDY_FOUND = True
except ImportError:
"skipping Indy-specific tests: python module not installed",
print("Skipping Indy-specific tests: python3-indy module not installed.")
except OSError:
"skipping Indy-specific tests: shared library not loaded",
print(
"Skipping Indy-specific tests: libindy shared library could not be loaded."
)

if not INDY_FOUND:
modules = {}
Expand Down

0 comments on commit f519fed

Please sign in to comment.