diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2017-01-12 11:53:15 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2017-02-09 03:17:14 +0100 |
commit | 069c4adbc4108dae686f86292aa19563f200f4fb (patch) | |
tree | efb2560d80ba4d497ad70ae2d31d3c81f285598d /source4/dsdb/tests | |
parent | 1647f0cedc2c6cecf76513bfacb3bf2813ec5c7a (diff) | |
download | samba-069c4adbc4108dae686f86292aa19563f200f4fb.tar.gz |
s4/linked_attribute tests: remove unused code
We don't test for sort order because we don't depend on it. So this
test was never used.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/tests')
-rw-r--r-- | source4/dsdb/tests/python/linked_attributes.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source4/dsdb/tests/python/linked_attributes.py b/source4/dsdb/tests/python/linked_attributes.py index c586082e2d3..c16ab340c7b 100644 --- a/source4/dsdb/tests/python/linked_attributes.py +++ b/source4/dsdb/tests/python/linked_attributes.py @@ -505,28 +505,6 @@ class LATests(samba.tests.TestCase): for u in users: self.assert_back_links(u, []) - def _test_la_links_sort_order(self): - u1, u2, u3 = self.add_objects(3, 'user', 'u_sort_order') - g1, g2, g3 = self.add_objects(3, 'group', 'g_sort_order') - - # Add these in a haphazard order - self.add_linked_attribute(g2, u3) - self.add_linked_attribute(g3, u2) - self.add_linked_attribute(g1, u3) - self.add_linked_attribute(g1, u1) - self.add_linked_attribute(g2, u1) - self.add_linked_attribute(g2, u2) - self.add_linked_attribute(g3, u3) - self.add_linked_attribute(g3, u1) - - self.assert_forward_links(g1, [u3, u1], sorted=True) - self.assert_forward_links(g2, [u3, u2, u1], sorted=True) - self.assert_forward_links(g3, [u3, u2, u1], sorted=True) - - self.assert_back_links(u1, [g3, g2, g1], sorted=True) - self.assert_back_links(u2, [g3, g2], sorted=True) - self.assert_back_links(u3, [g3, g2, g1], sorted=True) - def test_one_way_attributes(self): e1, e2 = self.add_objects(2, 'msExchConfigurationContainer', 'e_one_way') |