Skip to content

Commit

Permalink
change to ms sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Sep 13, 2022
1 parent 159e0d9 commit b517f1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/steps/application_v2_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
import json
import re
import time
import secrets
import pytest

from algosdk import (
abi,
atomic_transaction_composer,
encoding,
mnemonic,
constants,
)
from algosdk.abi.contract import NetworkInfo
from algosdk.error import (
Expand Down Expand Up @@ -1253,6 +1251,8 @@ def check_all_boxes_by_indexer(
), f"Expected box names array does not match actual array {expected_box_names} != {actual_box_names}"


@then("I sleep for {second_num} seconds for indexer to digest things down.")
def sleep_for_indexer(context, second_num: int):
time.sleep(int(second_num))
@then(
"I sleep for {millisecond_num} milliseconds for indexer to digest things down."
)
def sleep_for_indexer(context, millisecond_num):
time.sleep(int(millisecond_num) / 1000)

0 comments on commit b517f1d

Please sign in to comment.