summaryrefslogtreecommitdiffstats
path: root/custodia/httpd/server.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-10-19 15:38:14 -0400
committerSimo Sorce <simo@redhat.com>2015-10-23 14:10:59 -0400
commit5e94ab9a37a94db1a66d2db25d16a87d8e0a997a (patch)
treecd2b8c9d278b0f65369db9a2a4bb3a678f25f482 /custodia/httpd/server.py
parentdd552a022da0dbea04d3eb210b1df0ea33d4c686 (diff)
downloadcustodia-5e94ab9a37a94db1a66d2db25d16a87d8e0a997a.tar.gz
custodia-5e94ab9a37a94db1a66d2db25d16a87d8e0a997a.tar.xz
custodia-5e94ab9a37a94db1a66d2db25d16a87d8e0a997a.zip
Change tests to be more self contained
Use custom configuration and databases, do not rely on in-tree data. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'custodia/httpd/server.py')
-rw-r--r--custodia/httpd/server.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/custodia/httpd/server.py b/custodia/httpd/server.py
index c1df0cb..b1440ab 100644
--- a/custodia/httpd/server.py
+++ b/custodia/httpd/server.py
@@ -377,8 +377,6 @@ class HTTPServer(object):
if url.scheme == 'http+unix':
# Unix socket
serverclass = ForkingUnixHTTPServer
- if address[0] != '/':
- raise ValueError('Must use absolute unix socket name')
if os.path.exists(address):
os.remove(address)
elif url.scheme == 'http':