summaryrefslogtreecommitdiff
path: root/source4/lib/policy/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-06 11:16:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:11 +0200
commit60bc5fe0ed1aae43c3931eae2a765dae765c85e5 (patch)
tree5226acc415ea0ed9adfb55e1d14a619528e964c3 /source4/lib/policy/tests
parent381e82465842c7d1195ca81db40a0c5d9f9e9c57 (diff)
downloadsamba-60bc5fe0ed1aae43c3931eae2a765dae765c85e5.tar.gz
samba-60bc5fe0ed1aae43c3931eae2a765dae765c85e5.tar.bz2
samba-60bc5fe0ed1aae43c3931eae2a765dae765c85e5.zip
samba4: Add python bindings for samba.policy.get_gplink_options.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/tests')
-rw-r--r--source4/lib/policy/tests/python/bindings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/policy/tests/python/bindings.py b/source4/lib/policy/tests/python/bindings.py
index 1a698f16e0..0d6a63bf75 100644
--- a/source4/lib/policy/tests/python/bindings.py
+++ b/source4/lib/policy/tests/python/bindings.py
@@ -29,3 +29,7 @@ class PolicyTests(unittest.TestCase):
def test_get_gpo_flags(self):
self.assertEquals(["GPO_FLAG_USER_DISABLE"],
policy.get_gpo_flags(policy.GPO_FLAG_USER_DISABLE))
+
+ def test_get_gplink_options(self):
+ self.assertEquals(["GPLINK_OPT_DISABLE"],
+ policy.get_gplink_options(policy.GPLINK_OPT_DISABLE))