diff options
Diffstat (limited to 'source4/scripting/python/samba/tests/gensec.py')
-rw-r--r-- | source4/scripting/python/samba/tests/gensec.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/tests/gensec.py b/source4/scripting/python/samba/tests/gensec.py index 05b9a5946f..3e71610591 100644 --- a/source4/scripting/python/samba/tests/gensec.py +++ b/source4/scripting/python/samba/tests/gensec.py @@ -38,9 +38,8 @@ class CredentialsTests(samba.tests.TestCase): def test_start_mech_by_unknown_name(self): self.assertRaises(RuntimeError, self.gensec.start_mech_by_name, "foo") + def test_start_mech_by_name(self): + self.gensec.start_mech_by_name("spnego") + def test_info_uninitialized(self): self.assertRaises(RuntimeError, self.gensec.session_info) - - def test_info(self): - self.gensec.start_mech_by_name("spnego") - self.assertEquals(None, self.gensec.session_info()) |