removed test check code, left it as a hint comment

This commit is contained in:
2022-04-19 14:52:21 +02:00
parent d3b95cc8c4
commit 63f8501818

View File

@@ -17,7 +17,8 @@ class Adapter():
in a synchronous way, extract the DataReceived/Token and return it in a synchronous way, extract the DataReceived/Token and return it
as a JSON-Object (stringified) '{"token": value}'. as a JSON-Object (stringified) '{"token": value}'.
""" """
return '{"token": 42}' # return '{"token": 42}' - don't do this, just a test
raise NotImplementedError
def retrieve_token_async(self, name): def retrieve_token_async(self, name):
""" """
@@ -30,4 +31,5 @@ class Adapter():
Hint: The simple way is to use defer.succeed(), bonus points for doing Hint: The simple way is to use defer.succeed(), bonus points for doing
it with a callback chain read->parse->convert. it with a callback chain read->parse->convert.
""" """
return defer.succeed('{"token": 42}') #return defer.succeed('{"token": 42}') - don't do this, just a test
raise NotImplementedError