Add condition skip to filecheck logging tests

pull/21/head
Dan Puttick 2017-08-07 17:18:15 -04:00
parent 8c4ed4617a
commit 21a3feb40d
1 changed files with 8 additions and 1 deletions

View File

@ -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):