From c0dd57d40d23fe9c980814f3df744c489abf2c22 Mon Sep 17 00:00:00 2001 From: jaypan Date: Wed, 9 Oct 2024 09:27:32 +0200 Subject: [PATCH] Fix linter --- tests/delegator_issue_test.py | 1 - tests/utils_func.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/delegator_issue_test.py b/tests/delegator_issue_test.py index 973f523..278bbcc 100644 --- a/tests/delegator_issue_test.py +++ b/tests/delegator_issue_test.py @@ -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): diff --git a/tests/utils_func.py b/tests/utils_func.py index e87a170..d342cf4 100644 --- a/tests/utils_func.py +++ b/tests/utils_func.py @@ -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) @@ -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 \ No newline at end of file + 'peaq-network-fork' != chain_spec