Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan authored and Jay Pan committed Oct 9, 2024
1 parent 30b20ef commit c0dd57d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/delegator_issue_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from peaq.utils import ExtrinsicBatch, get_account_balance
from tests.utils_func import restart_parachain_and_runtime_upgrade
from tools.utils import set_block_reward_configuration
import warnings


def add_delegator(substrate, kp_delegator, addr_collator, stake_number):
Expand Down
4 changes: 2 additions & 2 deletions tests/utils_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def is_not_peaq_chain():
chain_name = get_chain(ws)
return chain_name not in ['peaq', 'peaq-network-fork']


def is_krest_related_chain():
ws = SubstrateInterface(url=WS_URL)
chain_name = get_chain(ws)
Expand All @@ -57,4 +57,4 @@ def is_local_new_chain():

return 'peaq-dev-fork' != chain_spec and \
'krest-network-fork' != chain_spec and \
'peaq-network-fork' != chain_spec
'peaq-network-fork' != chain_spec

0 comments on commit c0dd57d

Please sign in to comment.