[tor-bugs] #11979 [Ooni]: Add support for having multiple test classes inside of a nettest file

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 15 15:40:35 UTC 2014


#11979: Add support for having multiple test classes inside of a nettest file
-------------------------+-------------------------
 Reporter:  cypherpunks  |          Owner:  hellais
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Ooni         |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+-------------------------
 This issue was automatically migrated from github issue
 https://github.com/TheTorProject/ooni-probe/issues/289.

 Currently it is not possible to have more than one NetTestCase inside of a
 nettest file.

 This means that something like the following will not work properly:

 ```
 class TestA(nettest.NetTestCase):
      def test_foo(self):
             pass

 class TestB(nettest.NetTestCase):
      def test_bar(self):
             pass
 ```

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11979>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list