This website requires JavaScript.
Explore
Help
Sign In
jiuyuan
/
test_ok1
Watch
2
Star
0
Fork
You've already forked test_ok1
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
14d3707818
test_ok1
/
testing
/
plugins_integration
/
pytest_mock_integration.py
4 lines
75 B
Python
Raw
Normal View
History
Unescape
Escape
mypy: disallow untyped defs by default (#11862) Change our mypy configuration to disallow untyped defs by default, which ensures *new* files added to the code base are fully typed. To avoid having to type-annotate everything now, add `# mypy: allow-untyped-defs` to files which are not fully type annotated yet. As we fully type annotate those modules, we can then just remove that directive from the top.
2024-01-28 21:12:42 +08:00
# mypy: allow-untyped-defs
Smoke tests for assorted plugins (#7721) Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Kyle Altendorf <sda@fstab.net>
2020-09-20 02:56:52 +08:00
def
test_mocker
(
mocker
)
:
mocker
.
MagicMock
(
)