Tests: preserving unit.log when run without restart.
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals.
This commit is contained in:
@@ -249,7 +249,7 @@ Connection: close
|
||||
|
||||
assert self.search_in_log(r'/delete', 'access.log') is None, 'delete'
|
||||
|
||||
def test_access_log_change(self, temp_dir):
|
||||
def test_access_log_change(self):
|
||||
self.load('empty')
|
||||
|
||||
self.get()
|
||||
|
||||
Reference in New Issue
Block a user