From 565675e39733a9b1d6cb8617c510d92d40b8eb18 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 24 Feb 2022 11:45:15 -0500 Subject: [PATCH] Fix tests & update test deps --- cardinal/test_plugins.py | 3 +-- test_requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cardinal/test_plugins.py b/cardinal/test_plugins.py index f1bcc84..2003fdc 100644 --- a/cardinal/test_plugins.py +++ b/cardinal/test_plugins.py @@ -1,10 +1,9 @@ -import inspect import logging import os import sys import pytest -from twisted.internet.task import defer +from twisted.internet import defer from mock import Mock, patch from cardinal import exceptions diff --git a/test_requirements.txt b/test_requirements.txt index e511188..31d301a 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,6 +1,6 @@ # Unit tests mock==2.0.0 -pytest==4.6.5 -pytest-cov==2.7.1 +pytest==7.0.1 +pytest-cov==3.0.0 pytest-env==0.6.2 -pytest-twisted==1.11 +pytest-twisted==1.13.4