Deleted Added
1import os
2import unittest
3from subprocess import call
4from unit.applications.lang.python import TestApplicationPython
5
6
7class TestUSR1(TestApplicationPython):
8 prerequisites = {'modules': ['python']}

--- 37 unchanged lines hidden (view full) ---

46 self.assertIsNotNone(
47 self.wait_for_record(r'"GET /usr1 HTTP/1.1" 200 0 "-" "-"', log),
48 'reopen 2',
49 )
50 self.assertIsNone(
51 self.search_in_log(r'/usr1', log_new), 'rename new 2'
52 )
53
54 @unittest.skip('not yet')
55 def test_usr1_unit_log(self):
56 self.load('log_body')
57
58 log_new = 'new.log'
59 log_path = self.testdir + '/' + 'unit.log'
60 log_path_new = self.testdir + '/' + log_new
61
62 os.rename(log_path, log_path_new)

--- 33 unchanged lines hidden ---