[tor-bugs] #11979 [Ooni]: Add support for having multiple test classes inside of a nettest file
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Dec 2 16:38:43 UTC 2015
#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
More information about the tor-bugs
mailing list