36 lines
776 B
Diff
36 lines
776 B
Diff
|
|
---
|
||
|
|
setup.py | 1 -
|
||
|
|
tests/test_flask_api.py | 2 +-
|
||
|
|
tests/test_flask_tracing.py | 2 +-
|
||
|
|
3 files changed, 2 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
--- a/setup.py
|
||
|
|
+++ b/setup.py
|
||
|
|
@@ -30,7 +30,6 @@ setup(
|
||
|
|
'tests': [
|
||
|
|
'flake8',
|
||
|
|
'flake8-quotes',
|
||
|
|
- 'mock',
|
||
|
|
'pytest',
|
||
|
|
'pytest-cov',
|
||
|
|
],
|
||
|
|
--- a/tests/test_flask_api.py
|
||
|
|
+++ b/tests/test_flask_api.py
|
||
|
|
@@ -1,6 +1,6 @@
|
||
|
|
-import mock
|
||
|
|
import pytest
|
||
|
|
import unittest
|
||
|
|
+from unittest import mock
|
||
|
|
|
||
|
|
import opentracing
|
||
|
|
from flask import Flask
|
||
|
|
--- a/tests/test_flask_tracing.py
|
||
|
|
+++ b/tests/test_flask_tracing.py
|
||
|
|
@@ -1,5 +1,5 @@
|
||
|
|
-import mock
|
||
|
|
import unittest
|
||
|
|
+from unittest import mock
|
||
|
|
|
||
|
|
from flask import (Flask, request)
|
||
|
|
import opentracing
|