Skip to content

Commit

Permalink
Update key variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo committed Apr 24, 2024
1 parent 6864b25 commit e5634dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/python/tests/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def transaction_test(
key7 = "{{{}}}:{}".format(keyslot, get_random_string(3))
key8 = "{{{}}}:{}".format(keyslot, get_random_string(3))
key9 = "{{{}}}:{}".format(keyslot, get_random_string(3))
key10 = "{{{}}}:{}".format(keyslot, get_random_string(3)) # hash
key11 = "{{{}}}:{}".format(keyslot, get_random_string(3)) # hash

value = datetime.now(timezone.utc).strftime("%m/%d/%Y, %H:%M:%S")
value2 = get_random_string(5)
Expand Down Expand Up @@ -129,13 +129,13 @@ async def transaction_test(
transaction.hdel(key4, [key, key2])
args.append(2)

transaction.hset(key10, {key: value})
transaction.hset(key11, {key: value})
args.append(1)
transaction.hrandfield(key10)
transaction.hrandfield(key11)
args.append(key)
transaction.hrandfield_count(key10, 1)
transaction.hrandfield_count(key11, 1)
args.append([key])
transaction.hrandfield_count_withvalues(key10, 1)
transaction.hrandfield_count_withvalues(key11, 1)
args.append([[key, value]])

transaction.client_getname()
Expand Down

0 comments on commit e5634dc

Please sign in to comment.