mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 12:10:15 +01:00
test-client: drop unused NmTestBase base class
The base class is not used, and it's not clear that it would be useful. Sure, we could extend "test-client.py" will various non-nmcli tests. That might make sense. And then it might make sense to have more unit test classes. So far, we don't need that. Drop the unused base class NmTestBase.
This commit is contained in:
parent
3e574dda22
commit
d1e6d53013
1 changed files with 5 additions and 7 deletions
|
|
@ -740,20 +740,18 @@ class AsyncProcess:
|
|||
###############################################################################
|
||||
|
||||
|
||||
class NmTestBase(unittest.TestCase):
|
||||
MAX_JOBS = 15
|
||||
|
||||
|
||||
class TestNmcli(unittest.TestCase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self._calling_num = {}
|
||||
self._skip_test_for_l10n_diff = []
|
||||
self._async_jobs = []
|
||||
self._results = []
|
||||
self.srv = None
|
||||
return unittest.TestCase.__init__(self, *args, **kwargs)
|
||||
unittest.TestCase.__init__(self, *args, **kwargs)
|
||||
|
||||
|
||||
MAX_JOBS = 15
|
||||
|
||||
|
||||
class TestNmcli(NmTestBase):
|
||||
def srv_start(self):
|
||||
self.srv_shutdown()
|
||||
self.srv = NMStubServer(self._testMethodName)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue