From b62a26080c16890c8eac1d3062d4f21f08d6b50f Mon Sep 17 00:00:00 2001 From: Carl George Date: Sep 02 2021 19:19:17 +0000 Subject: Use the standard library mock --- diff --git a/fedora/python-calligrabot.spec b/fedora/python-calligrabot.spec index 7fbbb52..14c602b 100644 --- a/fedora/python-calligrabot.spec +++ b/fedora/python-calligrabot.spec @@ -15,7 +15,6 @@ BuildRequires: python3-robosignatory >= 0.7.0 BuildRequires: python3-setuptools # For tests -BuildRequires: python3-mock BuildRequires: python3-pytest BuildRequires: python3-rpm-head-signing diff --git a/test-requirements.txt b/test-requirements.txt index c08307f..a9e8ad0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,4 @@ incremental-progress koji -mock pyasn1 pytest diff --git a/tests/test_driver.py b/tests/test_driver.py index 10c7525..41a81fa 100644 --- a/tests/test_driver.py +++ b/tests/test_driver.py @@ -4,7 +4,7 @@ import copy import logging -import mock +from unittest import mock from fedora_messaging.api import Message from pkg_resources import parse_version