move randomtrackingdict.py out side the network dircetory
This commit is contained in:
parent
a2ab0a02dc
commit
46e2f04488
|
@ -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):
|
|
@ -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):
|
||||
|
|
Reference in New Issue
Block a user