[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs