[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5454 [Stem]: ExitPolicy Class for stem
#5454: ExitPolicy Class for stem
-------------------------+--------------------------------------------------
Reporter: gsathya | Owner: atagar
Type: enhancement | Status: needs_information
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by gsathya):
Replying to [comment:16 atagar]:
> You can find some helper functions for checking validity in the
connection util...
>
https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/util/connection.py#l15
Ah, perfect! I've changed these a bit -
https://gitweb.torproject.org/user/gsathya/stem.git/commitdiff/7e27dd70f83699f8ac10dbdaefae9be097fa9728
and used it in -
https://gitweb.torproject.org/user/gsathya/stem.git/commitdiff/86c96aafb43015ed94da437d85576364279812d0
I'm currently adding more unit tests (
https://gitweb.torproject.org/user/gsathya/stem.git/blob/bf8d24ae8ae72dd1a5995b82939616feffedaae5:/test/unit/exit_policy.py
). I'll change the status to needs_review after I add a couple of more
tests, but if you can go through these changes and let me know if they
look ok, then that would be great.
Thanks!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5454#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs