mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
Add TEST_DEPENDS and (do-)test target to help QA of an upcoming devel/py-fs update [1]. The tests currently pass: 128 passed, 61 skipped in 21.56 seconds While I'm here: - Pet portlint (extra item placed in the USES/USE_x section) PR: 234491 Approved by: portmgr (framework/infrastructure support/compliance) MFH: 2019Q1
15 lines
495 B
Python
15 lines
495 B
Python
# mock dependency set in TEST_DEPENDS is actually backports.unittest_mock
|
|
# but this package doesn't exist in the ports tree yet, so adjust the import
|
|
# here to import 'mock' proper. TODO
|
|
|
|
--- tests/test_file.py.orig 2019-01-04 05:24:38 UTC
|
|
+++ tests/test_file.py
|
|
@@ -7,7 +7,7 @@ import unittest
|
|
from six.moves import configparser
|
|
|
|
import pytest
|
|
-from unittest import mock
|
|
+import mock
|
|
|
|
from keyring.tests.test_backend import BackendBasicTests
|
|
from keyring.tests.util import random_string
|