tmpdir_factory [session scope] -- .../_pytest/legacypath.py:317 Return a :class:`pytest.TempdirFactory` instance for the test session. tmpdir -- .../_pytest/legacypath.py:309 tmpdir -- .../_pytest/legacypath.py:324 Return a temporary directory path object which is unique to each tes...
pytest 8.3.3 (2024-09-09) Bug fixes #12446: Avoid calling@property(and other instance descriptors) during fixture discovery -- byasottile{.interpreted-text role="user"} #12659: Fixed the issue of not displaying assertion failure differences when using the parameter--import-mode=importlibin py...
Source File: repo_instance.py From superflore with Apache License 2.0 6 votes def __init__( self, repo_owner, repo_name, repo_dir=None, do_clone=True, from_branch=''): self.repo_owner = repo_owner self.repo_name = repo_name repo_url = 'https://github.com/{0}/{1}' self....
开发者ID:ros-infrastructure,项目名称:superflore,代码行数:19,代码来源:repo_instance.py 示例6: test_get_files_in_commit ▲点赞 6▼ # 需要导入模块: from git import Repo [as 别名]# 或者: from git.Repo importclone_from[as 别名]deftest_get_files_in_commit():finished =False# Authorize Permi...
# 需要导入模块: from pyudev import Devices [as 别名]# 或者: from pyudev.Devices importfrom_path[as 别名]deftest_events_real(self, context, monitor):# make sure that the module is unloaded initiallypytest.unload_dummy() monitor.filter_by('net') ...
This new option will be useful for those who use special hooks in pytest (for instance,pytest_report_headerorpytest_terminal_summary) that were suppressed by those new flags. If you are using one of the popular testing libraries such asHypothesisand cannot see their feedback on your failing ...
path.dirname(__file__), 'test_apps', 'subdomaintestmodule') with pytest.raises(BadRequest): flask.send_from_directory('static', 'badx00') 浏览完整代码 来源:test_helpers.py 项目:dawran6/flask 示例3 def send_static_file(path, mimetype=None): static = os.path.join(app.root_path, '...
GraphScope-Store: A persistent store for mutable graphs A bulk-load tool to import a property graph from files to the GraphScope-Store instance Helm support to launch GraphScope as service with store Support for multiple session connections to a store Interactive queries ...
I think listPath's service_name param is not necessary.if it gets a default value from SMBConnection instance, it will be better Unable to delete files matching a pattern Deleting a file without using wildcards works fine. However, I receive an error when attempting to delete files using a...
In some images the middle of an object is occluded, causing two disjoint polygons belonging to the same instance. It would be nice if there was an option to merge polygons into a single object. Nice tool by the way, thanks for making this!Label...