MCPcopy Create free account
hub / github.com/pytest-dev/pytest / DummyFile

Class DummyFile

testing/test_pastebin.py:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 calls.append((url, data))
115
116 class DummyFile:
117 def read(self):
118 # part of html of a normal response
119 return b'View <a href="/invalid/3c0c6750bd">raw</a>.'
120
121 return DummyFile()
122

Callers 1

mockedMethod · 0.85

Calls

no outgoing calls

Tested by 1

mockedMethod · 0.68