Skip to content

Commit

Permalink
flake8 fixes 2
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Shishkin <vladimir.shishkin@dsr-corporation.com>
  • Loading branch information
VladimirWork committed Oct 23, 2018
1 parent 5fa309c commit 4bfde2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions acceptance/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ def random_string(length):

def random_did_and_json():
return base58.b58encode(random_string(16)).decode(),\
json.dumps({'did': base58.b58encode(random_string(16)).decode()})
json.dumps({'did': base58.b58encode(random_string(16)).decode()})


def random_seed_and_json():
return base58.b58encode(random_string(23)).decode(),\
json.dumps({'seed': base58.b58encode(random_string(23)).decode()})
json.dumps({'seed': base58.b58encode(random_string(23)).decode()})


async def pool_helper(pool_name=None, path_to_genesis='./docker_genesis'):
Expand Down Expand Up @@ -172,4 +172,3 @@ async def get_revoc_reg_delta_helper(pool_handle, wallet_handle, submitter_did,
res = json.loads(await ledger.sign_and_submit_request(pool_handle, wallet_handle, submitter_did, req))

return res

0 comments on commit 4bfde2a

Please sign in to comment.