[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8330 [Ooni]: ooni: NetTestCase.checkRequiredOptions() does not parse conditionals
#8330: ooni: NetTestCase.checkRequiredOptions() does not parse conditionals
-----------------------------+----------------------------------------------
Reporter: isis | Owner: hellais
Type: defect | Status: new
Priority: normal | Milestone:
Component: Ooni | Version:
Keywords: ooni, bugreport | Parent:
Points: | Actualpoints:
-----------------------------+----------------------------------------------
Comment(by hellais):
To implement this I think we would have to have our own syntax for
defining required options and set checkRequiredOptions to be string.
For example:
('dstip' and 'port') or 'file'
can become
{{{
class FooTestCase(nettest.NetTestCase):
checkRequiredOptions = '( "dstip'" and "port" ) || "file"'
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8330#comment:1>
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