Add some basic tests for base stage implementation
This commit is contained in:
parent
10f73cfb76
commit
8a77c09305
3 changed files with 48 additions and 7 deletions
|
|
@ -1 +1,10 @@
|
|||
"""Shared utilities for all test suites."""
|
||||
|
||||
import functools
|
||||
|
||||
|
||||
def get_method_name(method):
|
||||
"""Reliably get a methods name even if wrapped."""
|
||||
while isinstance(method, functools.partial):
|
||||
method = method.func
|
||||
return getattr(method, "__name__", type(method).__name__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue