Could potentially use @pytest.fixture to remove the query load_bulk_data_types, make_client and make_query for all the tests set up.
还没有人认领这个 Issue。
评估
调研方向
找到重复执行 load_bulk_data_types、make_client 和 make_query 的测试,然后阅读它们当前的 setup 以及 pytest fixture 文档。将重复的 setup 整合到 fixtures 中并运行受影响的测试;完成的标准是移除重复代码而不改变测试行为,并且测试通过。
由索引模型根据 Issue 内容生成。
描述
Could potentially use @pytest.fixture to remove the query load_bulk_data_types, make_client and make_query for all the tests set up.
Originally posted by @TordAreStromsnes in https://github.com/equinor/dsis-python-client/pull/92#discussion_r3085326213
- 主要语言
- Python
- 星标
- 2
- 派生
- 0
- 平均合并
- 3 天 23 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
equinor/dsis-python-client 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Support retrieving metadata from solr cached objects可能重新可做 @Qif-Equinor 于 314 天前认领,目前没有进行中的 PR。 未关闭
equinor/dsis-python-client#47 · 已指派 1 人 ·
查看 equinor/dsis-python-client 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4115 ·
-
get_lldp_neighbors_detail: query asks for 'max-address' (typo for 'mac-address'), so remote_chassis_id is always empty可能已有人在做 @Jah-yee 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
-
lesson-submission pending-review
难度 1/5 1 小时以内 新手友好度 74/100
Ikalus1988/MisakaNet#3899 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
aws-samples/sample-per-model-bedrock#549 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100