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

Re: [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:  closed
 Priority:  Medium       |      Milestone:
Component:  Ooni         |        Version:
 Severity:  Normal       |     Resolution:  fixed
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+-------------------------
Changes (by hellais):

 * status:  new => closed
 * resolution:   => fixed
 * severity:   => Normal


Old description:

> 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
> ```

New description:

 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
 ```

--

Comment:

 I can confirm that this is longer an issue so it has been fixed since a
 while now. Closing!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11979#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