From 21a3feb40d106b2cf0141abc3607c1e3c9be2044 Mon Sep 17 00:00:00 2001 From: Dan Puttick Date: Mon, 7 Aug 2017 17:18:15 -0400 Subject: [PATCH] Add condition skip to filecheck logging tests --- tests/test_filecheck_logging.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/test_filecheck_logging.py b/tests/test_filecheck_logging.py index b83463f..7373101 100644 --- a/tests/test_filecheck_logging.py +++ b/tests/test_filecheck_logging.py @@ -4,7 +4,14 @@ import os from datetime import datetime -from bin.filecheck import KittenGroomerFileCheck +import pytest + +try: + from bin.filecheck import KittenGroomerFileCheck + NODEPS = False +except ImportError: + NODEPS = True +pytestmark = pytest.mark.skipif(NODEPS, reason="Dependencies aren't installed") def save_logs(groomer, test_description):