forked from joeli/challenge
removed test check code, left it as a hint comment
This commit is contained in:
@@ -17,7 +17,8 @@ class Adapter():
|
||||
in a synchronous way, extract the DataReceived/Token and return it
|
||||
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):
|
||||
"""
|
||||
@@ -30,4 +31,5 @@ class Adapter():
|
||||
Hint: The simple way is to use defer.succeed(), bonus points for doing
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user