File: remove_mock.patch

package info (click to toggle)
python-py-vapid 1.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 236 kB
  • sloc: python: 687; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/py_vapid/tests/test_vapid.py
+++ b/py_vapid/tests/test_vapid.py
@@ -5,7 +5,7 @@
 import json
 import unittest
 from cryptography.hazmat.primitives import serialization
-from mock import patch, Mock
+from unittest.mock import patch, Mock
 
 from py_vapid import Vapid01, Vapid02, VapidException, _check_sub
 from py_vapid.jwt import decode