summaryrefslogtreecommitdiffhomepage
path: root/test/test_access_log.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_access_log.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py
index bee7a7e5..05f5f54a 100644
--- a/test/test_access_log.py
+++ b/test/test_access_log.py
@@ -13,7 +13,7 @@ class TestUnitAccessLog(unit.TestUnitApplicationPython):
def load(self, script):
super().load(script)
- self.conf('"' + self.testdir + '/access.log"', '/access_log')
+ self.conf('"' + self.testdir + '/access.log"', 'access_log')
def search_in_log(self, pattern, name='access.log'):
with open(self.testdir + '/' + name, 'r') as f:
@@ -85,7 +85,7 @@ Connection: close
"[::1]:7080": {
"application": "empty"
}
- }, '/listeners')
+ }, 'listeners')
self.get(sock_type='ipv6')
@@ -106,7 +106,7 @@ Connection: close
"unix:" + addr: {
"application": "empty"
}
- }, '/listeners')
+ }, 'listeners')
self.get(sock_type='unix', addr=addr)
@@ -240,7 +240,7 @@ Connection: close
def test_access_log_delete(self):
self.load('empty')
- self.conf_delete('/access_log')
+ self.conf_delete('access_log')
self.get(url='/delete')
@@ -255,7 +255,7 @@ Connection: close
self.get()
- self.conf('"' + self.testdir + '/new.log"', '/access_log')
+ self.conf('"' + self.testdir + '/new.log"', 'access_log')
self.get()