patch-tests_test__file.py 495 B

123456789101112131415
  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_file.py.orig 2019-01-04 05:24:38 UTC
  5. +++ tests/test_file.py
  6. @@ -7,7 +7,7 @@ import unittest
  7. from six.moves import configparser
  8. import pytest
  9. -from unittest import mock
  10. +import mock
  11. from keyring.tests.test_backend import BackendBasicTests
  12. from keyring.tests.util import random_string