mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 04:19:32 +00:00
Drop Python 2.7 support (#1058)
* Drop 2.7 * fixup! Drop 2.7 * fixup! Drop 2.7
This commit is contained in:
committed by
Henning Jacobs
parent
e06ec6da82
commit
ec37d03902
@@ -1,15 +1,7 @@
|
||||
from connexion.mock import MockResolver, partial
|
||||
from connexion.mock import MockResolver
|
||||
from connexion.operations import Swagger2Operation
|
||||
|
||||
|
||||
def test_partial():
|
||||
def func(a, b):
|
||||
return a + b
|
||||
|
||||
add_three = partial(func, a=3)
|
||||
assert add_three(b=1) == 4
|
||||
|
||||
|
||||
def test_mock_resolver():
|
||||
resolver = MockResolver(mock_all=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user