Cleaned imports

This commit is contained in:
Alberto Soutullo 2023-03-05 21:54:44 +01:00 committed by Alberto Soutullo Rendo
parent 557e149a2e
commit 18f7f585ab
4 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import json
import sys
# Project Imports
from . import wls_logger
from src.utils import wls_logger
def load_config_file(config_file):

View File

@ -2,8 +2,8 @@
import random
# Project Imports
from . import wls_logger
from . import rtnorm
import wls_logger
import rtnorm
def _make_payload(bytes_size):

View File

@ -2,7 +2,7 @@ import json
import unittest
import os
from .. import files
from src.utils import files
class TestFiles(unittest.TestCase):

View File

@ -6,7 +6,7 @@ import sys
import random
# Project Imports
from . import wls_logger
from src.utils import wls_logger
def _poisson_interval(rate):
@ -37,7 +37,8 @@ def _create_waku_rpc_data(topic, waku_msg, node_address):
'jsonrpc': '2.0',
'method': 'post_waku_v2_relay_v1_message',
'id': 1,
'params': [topic, waku_msg]}
'params': [topic, waku_msg]
}
wls_logger.G_LOGGER.debug(f"Waku RPC: {data['method']} from {node_address} Topic: {topic}")