mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 18:20:07 +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.
(cherry picked from commit d1e6d53013)
This commit is contained in:
parent
05e5a2fefd
commit
0e13811a4b
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