summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2025-08-15 11:49:27 +0200
committerVolker Lendecke <vl@samba.org>2025-08-15 14:36:34 +0000
commit5f7b31927733b0ff3e1207be242f1ddb2cb699bd (patch)
treede96b1a4ec2ad7b5a3f0f2ba2d0aad66166dbada /python
parent698a0195f72a091e9ed6b0448160c79e37761840 (diff)
downloadsamba-5f7b31927733b0ff3e1207be242f1ddb2cb699bd.tar.gz
samba-5f7b31927733b0ff3e1207be242f1ddb2cb699bd.tar.bz2
samba-5f7b31927733b0ff3e1207be242f1ddb2cb699bd.zip
python/tests: also populate self.server in calls LibsmbTests setup()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15843 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/libsmb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/tests/libsmb.py b/python/samba/tests/libsmb.py
index 3ac1b68a59b..e3683901df2 100644
--- a/python/samba/tests/libsmb.py
+++ b/python/samba/tests/libsmb.py
@@ -43,6 +43,7 @@ class LibsmbTests(samba.tests.TestCase):
server_conf_dir = os.path.dirname(server_conf)
self.global_inject = os.path.join(server_conf_dir, "global_inject.conf")
+ self.server = samba.tests.env_get_var_value("SERVER")
self.server_ip = samba.tests.env_get_var_value("SERVER_IP")
def clean_file(self, conn, filename):