开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
pytest

pytest

go

Is it possible to run a django pytest that has access to multiple databases, without executing the test against each database?

英文: Is it possible to run a django pytest that has access to multiple databases, without executing t...
huangapple 2023年8月11日187评论django pytest
go

Pytest:何时使用pytest.raises与xfail

英文: Pytest: When to use with pytest.raises vs xfail 问题 我有一个方法,当提供了不正确的输入格式时,预期会引发异常。我想知道测试的正确方式是,当提供...
huangapple 2023年8月11日259评论python unit-testing
go

如何在使用metafunc添加的测试中添加标记?

英文: How to add marks to tests added using metafunc? 问题 然而,我的一些测试失败了。因此,我想将其中一些标记为xfail。我该如何做到这一点? 英文...
huangapple 2023年8月10日154评论pytest python
go

assigning dates using regex, converting them with strptime and then applying to dataframe using lambda. Code works but pytest is failing?

英文: assigning dates using regex, converting them with strptime and then applying to dataframe using ...
huangapple 2023年7月31日181评论pandas python
go

PyTest对@singledispatch和@typechecked没有引发预期错误。

英文: PyTest for @singledispatch and @typechecked not raising expected error 问题 目标: 成功通过test_score_not...
huangapple 2023年7月27日136评论pytest python-3.x
go

Python单元测试模拟函数调用原始函数并失败。

英文: Python Unit Testing a mocked function calls the original function and fails 问题 notification.py: ...
huangapple 2023年7月24日169评论python unit-testing
go

pytest parametrize调用有什么问题?

英文: What is wrong with this pytest parametrize invocation? 问题 我广泛使用了 pytest.mark.parametrize,但在一个测试方...
huangapple 2023年7月14日139评论pytest python
go

如何通过Python脚本在pytest调用期间传递变量(而不是通过命令行)?

英文: How to pass variables during pytest call via python script(not command line)? 问题 以下是已翻译的内容: &quo...
huangapple 2023年7月13日209评论plugins python
go

pytest unittest spark java.io.FileNotFoundException: HADOOP_HOME 和 hadoop.home.dir 未设置

英文: pytest unittest spark java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset 问...
huangapple 2023年7月13日168评论python unit-testing
go

使pytest的’capsys’ fixture在使用-s选项与否时,都能对待stdout相同。

英文: Make pytest 'capsys' fixture treat stdout the same regardless of whether or not the -s o...
huangapple 2023年7月12日142评论pytest python

文章导航

1 2 3 … 10
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17689637

热门标签

spring-boot pandas typescript json python javascript arrays sql c# java go node.js r reactjs flutter spring android html css c++

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码