Fix error with logging of mock data
This commit is contained in:
2
Pipfile.lock
generated
2
Pipfile.lock
generated
@@ -354,7 +354,6 @@
|
|||||||
"version": "==0.6.0"
|
"version": "==0.6.0"
|
||||||
},
|
},
|
||||||
"urllib3": {
|
"urllib3": {
|
||||||
"extras": [],
|
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a",
|
"sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a",
|
||||||
"sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"
|
"sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"
|
||||||
@@ -976,7 +975,6 @@
|
|||||||
"version": "==3.7.4.3"
|
"version": "==3.7.4.3"
|
||||||
},
|
},
|
||||||
"urllib3": {
|
"urllib3": {
|
||||||
"extras": [],
|
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a",
|
"sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a",
|
||||||
"sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"
|
"sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"
|
||||||
|
@@ -469,10 +469,10 @@ class SubsonicAdapter(Adapter):
|
|||||||
raise data
|
raise data
|
||||||
if hasattr(data, "__next__"):
|
if hasattr(data, "__next__"):
|
||||||
if d := next(data):
|
if d := next(data):
|
||||||
logging.info("MOCK DATA", d)
|
logging.info("MOCK DATA %s", d)
|
||||||
return MockResult(d)
|
return MockResult(d)
|
||||||
|
|
||||||
logging.info("MOCK DATA", data)
|
logging.info("MOCK DATA %s", data)
|
||||||
return MockResult(data)
|
return MockResult(data)
|
||||||
|
|
||||||
self._get_mock_data = get_mock_data
|
self._get_mock_data = get_mock_data
|
||||||
|
Reference in New Issue
Block a user