mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-02-18 08:48:59 +00:00
test: add helper path test and stub requests (#4)
This commit is contained in:
9
requests.py
Normal file
9
requests.py
Normal file
@@ -0,0 +1,9 @@
|
||||
class Response:
|
||||
def __init__(self, status_code=200):
|
||||
self.status_code = status_code
|
||||
|
||||
def iter_content(self, chunk_size=1024):
|
||||
return iter([])
|
||||
|
||||
def get(url, stream=False, timeout=0):
|
||||
raise NotImplementedError("requests.get is not implemented")
|
||||
Reference in New Issue
Block a user