Deleted
Added
test_python_application.py (750:41dc0e5e7f45) | test_python_application.py (753:0f0094dc0f51) |
---|---|
1import unittest 2import unit 3 4class TestUnitPythonApplication(unit.TestUnitApplicationPython): 5 6 def setUpClass(): 7 unit.TestUnit().check_modules('python') 8 --- 181 unchanged lines hidden (view full) --- 190 "listeners": {}, 191 "applications": {} 192 }), 'reconfigure 2 clear configuration') 193 194 resp = self.get(sock=sock) 195 196 self.assertEqual(resp, {}, 'reconfigure 2 keep-alive 3') 197 | 1import unittest 2import unit 3 4class TestUnitPythonApplication(unit.TestUnitApplicationPython): 5 6 def setUpClass(): 7 unit.TestUnit().check_modules('python') 8 --- 181 unchanged lines hidden (view full) --- 190 "listeners": {}, 191 "applications": {} 192 }), 'reconfigure 2 clear configuration') 193 194 resp = self.get(sock=sock) 195 196 self.assertEqual(resp, {}, 'reconfigure 2 keep-alive 3') 197 |
198 @unittest.expectedFailure | |
199 def test_python_keepalive_reconfigure_3(self): | 198 def test_python_keepalive_reconfigure_3(self): |
199 self.skip_alerts.append(r'sendmsg.+failed') |
|
200 self.load('empty') 201 202 (resp, sock) = self.http(b"""GET / HTTP/1.1 203""", start=True, raw=True) 204 205 self.assertIn('success', self.conf({ 206 "listeners": {}, 207 "applications": {} --- 147 unchanged lines hidden --- | 200 self.load('empty') 201 202 (resp, sock) = self.http(b"""GET / HTTP/1.1 203""", start=True, raw=True) 204 205 self.assertIn('success', self.conf({ 206 "listeners": {}, 207 "applications": {} --- 147 unchanged lines hidden --- |