move randomtrackingdict.py out side the network dircetory

This commit is contained in:
navjot 2020-12-28 16:10:56 +05:30
parent a2ab0a02dc
commit 46e2f04488
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
2 changed files with 3 additions and 6 deletions

View File

@ -4,7 +4,7 @@ Track randomize ordered dict
from threading import RLock
from time import time
import helper_random
from pybitmessage import helper_random
class RandomTrackingDict(object):

View File

@ -22,12 +22,9 @@ class TestRandomTrackingDict(unittest.TestCase):
def test_check_randomtrackingdict(self):
"""Check the logic of RandomTrackingDict class"""
# from network import RandomTrackingDict
# from pybitmessage.network.randomtrackingdict import RandomTrackingDict
# from network.randomtrackingdict import RandomTrackingDict
from pybitmessage import network
from pybitmessage.randomtrackingdict import RandomTrackingDict
a = []
k = network.randomtrackingdict.RandomTrackingDict()
k = RandomTrackingDict()
a.append(time())
for i in range(50000):