summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-01-23 22:29:19 +0100
committerAndreas Schneider <asn@cryptomilk.org>2020-03-27 09:02:38 +0000
commit05d3a909d5a66ab2b9a6b00416b7087588dbdef9 (patch)
tree9fc374a1b391f1715a4c0798db4a33f4d570f9ef /python
parent83f6ff9006c74e60d84f38151589958769e45bdf (diff)
downloadsamba-05d3a909d5a66ab2b9a6b00416b7087588dbdef9.tar.gz
selftest: use 10.53.57.0/8 instead of 127.0.0.1/8
This makes our testing much more realistic and allows the removal of some knowfail entries. It also means the testing with network namespaces on Linux can use the same addresses as our socket wrapper testing. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/blackbox/mdfind.py2
-rw-r--r--python/samba/tests/dcerpc/mdssvc.py2
-rw-r--r--python/samba/tests/param.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/samba/tests/blackbox/mdfind.py b/python/samba/tests/blackbox/mdfind.py
index e00af054007..5c1c0c3d155 100644
--- a/python/samba/tests/blackbox/mdfind.py
+++ b/python/samba/tests/blackbox/mdfind.py
@@ -67,7 +67,7 @@ class MdfindBlackboxTests(BlackboxTestCase):
def setUp(self):
super(MdfindBlackboxTests, self).setUp()
- self.server = HTTPServer(('127.0.0.35', 8080),
+ self.server = HTTPServer(('10.53.57.35', 8080),
MdssvcHTTPRequestHandler,
bind_and_activate=False)
diff --git a/python/samba/tests/dcerpc/mdssvc.py b/python/samba/tests/dcerpc/mdssvc.py
index 68243aa4354..b0df509ddc7 100644
--- a/python/samba/tests/dcerpc/mdssvc.py
+++ b/python/samba/tests/dcerpc/mdssvc.py
@@ -77,7 +77,7 @@ class MdssvcTests(RpcInterfaceTestCase):
self.pipe = mdssvc.mdssvc('ncacn_np:fileserver[/pipe/mdssvc]', self.get_loadparm())
- self.server = HTTPServer(('127.0.0.35', 8080),
+ self.server = HTTPServer(('10.53.57.35', 8080),
MdssvcHTTPRequestHandler,
bind_and_activate=False)
diff --git a/python/samba/tests/param.py b/python/samba/tests/param.py
index 0a7f86adad7..ae58074b80b 100644
--- a/python/samba/tests/param.py
+++ b/python/samba/tests/param.py
@@ -98,7 +98,7 @@ class LoadParmTestCase(samba.tests.TestCaseInTempDir):
'global',
self.tempf))
content = open(self.tempf, 'r').read()
- self.assertIn('127.0.0.', content)
+ self.assertIn('10.53.57.', content)
def test_samdb_url(self):
samba_lp = param.LoadParm()