1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-18 08:23:51 +03:00

python: make source_tree_topdir() test-only

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Douglas Bagnall
2025-03-19 12:04:26 +13:00
committed by Ralph Boehme
parent 38d113a4d3
commit 24fb3bb874
5 changed files with 15 additions and 14 deletions

View File

@@ -240,7 +240,7 @@ class SmbDotConfTests(TestCase):
finally:
f.close()
self.topdir = os.path.abspath(samba.source_tree_topdir())
self.topdir = os.path.abspath(samba.tests.source_tree_topdir())
try:
self.documented = set(get_documented_parameters(self.topdir))