mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-23 19:47:39 +02:00
[tests] Harmonize and clean-up syntax across test files
Also comply more with PEP8 linting rules.
This commit is contained in:
parent
441ba37c24
commit
28042dd2ad
11 changed files with 218 additions and 189 deletions
|
@ -18,7 +18,7 @@ def registeredNodeTypes(nodeTypes: list[Type[desc.Node]]):
|
|||
|
||||
@contextmanager
|
||||
def overrideNodeTypeVersion(nodeType: Type[desc.Node], version: str):
|
||||
"""Helper context manager to override the version of a given node type."""
|
||||
""" Helper context manager to override the version of a given node type. """
|
||||
unpatchedFunc = meshroom.core.nodeVersion
|
||||
with patch.object(
|
||||
meshroom.core,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue