From c450632623f0889b4f60dfa1add6bea5cd6fc036 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Feb 20 2020 11:43:51 +0000 Subject: TST: Remove unused imports. Especially `mock` is useless since it's in the standard library now, so one less dep. --- diff --git a/tests/test_mdapi_data.py b/tests/test_mdapi_data.py index 544fef9..6521876 100644 --- a/tests/test_mdapi_data.py +++ b/tests/test_mdapi_data.py @@ -32,9 +32,7 @@ import subprocess import sys import tempfile -import mock import pytest -from aiohttp import web sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '..')) diff --git a/tests/test_mdapi_empty.py b/tests/test_mdapi_empty.py index 7c3de02..5c02e02 100644 --- a/tests/test_mdapi_empty.py +++ b/tests/test_mdapi_empty.py @@ -26,13 +26,9 @@ Tests for mdapi. ''' import os -import shutil -import subprocess import sys -import tempfile import pytest -from aiohttp import web sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '..')) diff --git a/tox.ini b/tox.ini index 821a3c0..d5f74b4 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,6 @@ deps = pytest pytest-cov pytest-aiohttp - mock setenv = PYTHONPATH={toxinidir} commands =