patch-tests_test__crypto.py 386 B

12345678910111213
  1. # mock dependency set in TEST_DEPENDS is actually backports.unittest_mock
  2. # but this package doesn't exist in the ports tree yet, so adjust the import
  3. # here to import 'mock' proper. TODO
  4. --- tests/test_crypto.py.orig 2019-01-04 05:26:47 UTC
  5. +++ tests/test_crypto.py
  6. @@ -1,5 +1,5 @@
  7. import unittest
  8. -from unittest import mock
  9. +import mock
  10. from .test_file import FileKeyringTests