File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1919 Set as AbstractSet ,
2020 )
2121
22+ from aiostem .command import Command
2223 from aiostem .controller import EventCallbackType
23- from aiostem .utils import (
24- Command ,
25- EventWord ,
24+ from aiostem .event import EventWord
25+ from aiostem .reply import (
2626 ReplyAuthChallenge ,
2727 ReplyProtocolInfo ,
2828 ReplySetEvents ,
Original file line number Diff line number Diff line change 5151from aiostem .structures import (
5252 CircuitPurpose ,
5353 DescriptorPurpose ,
54+ HiddenServiceAddressV2 ,
5455 HsDescAuthCookie ,
5556 HsDescAuthTypeInt ,
5657 HsDescClientAuthV2 ,
@@ -294,11 +295,11 @@ def test_drop_guards(self):
294295 assert cmd .serialize () == 'DROPGUARDS\r \n '
295296
296297 def test_hs_fetch (self ):
297- cmd = CommandHsFetch (address = 'facebookcorewwwi' )
298+ cmd = CommandHsFetch (address = HiddenServiceAddressV2 ( 'facebookcorewwwi' ) )
298299 assert cmd .serialize () == 'HSFETCH facebookcorewwwi\r \n '
299300
300301 def test_hs_fetch_with_servers (self ):
301- address = 'facebookcorewwwi'
302+ address = HiddenServiceAddressV2 ( 'facebookcorewwwi' )
302303 server1 = '$b34a4ac3892e41c58709d9c51b3648620a7d5bfe~Test1'
303304 server2 = '$7b70bf914770f022e71a26cbf3d9519dc89f2a9a~Test2'
304305 cmd = CommandHsFetch (
You can’t perform that action at this time.
0 commit comments