mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
python:tests: Don’t needlessly create single‐element tuple
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
b7df67d0ae
commit
74ca3134b1
@@ -340,7 +340,7 @@ class SMBConfTests(samba.tests.TestCase):
|
||||
def test_error_no_such_service(self):
|
||||
sconf = self.smbconf.init_txt(self.example_conf_default)
|
||||
with self.assertRaises(self.smbconf.SMBConfError) as raised:
|
||||
sconf.get_share("zilch"),
|
||||
sconf.get_share("zilch")
|
||||
self.assertEqual(
|
||||
self.smbconf.SBC_ERR_NO_SUCH_SERVICE, raised.exception.error_code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user