|
5 | 5 | import filecmp |
6 | 6 | import typing |
7 | 7 | import os |
| 8 | +import unittest |
8 | 9 |
|
9 | 10 | import pytest |
10 | 11 |
|
@@ -98,22 +99,34 @@ def check_log_async_logging(self, host_out: typing.List[str]): |
98 | 99 | self.assertIn('hello info', host_out) |
99 | 100 | self.assertIn('and another error', host_out) |
100 | 101 |
|
| 102 | + @unittest.skip("Reverting the debug logs PR as host currently cannot handle" |
| 103 | + "apps with lot of debug statements. Reverting PR: " |
| 104 | + "azure-functions-python-worker/pull/745") |
101 | 105 | def test_debug_logging(self): |
102 | 106 | r = self.webhost.request('GET', 'debug_logging') |
103 | 107 | self.assertEqual(r.status_code, 200) |
104 | 108 | self.assertEqual(r.text, 'OK-debug') |
105 | 109 |
|
| 110 | + @unittest.skip("Reverting the debug logs PR as host currently cannot handle" |
| 111 | + "apps with lot of debug statements. Reverting PR: " |
| 112 | + "azure-functions-python-worker/pull/745") |
106 | 113 | def check_log_debug_logging(self, host_out: typing.List[str]): |
107 | 114 | self.assertIn('logging info', host_out) |
108 | 115 | self.assertIn('logging warning', host_out) |
109 | 116 | self.assertIn('logging debug', host_out) |
110 | 117 | self.assertIn('logging error', host_out) |
111 | 118 |
|
| 119 | + @unittest.skip("Reverting the debug logs PR as host currently cannot handle" |
| 120 | + "apps with lot of debug statements. Reverting PR: " |
| 121 | + "azure-functions-python-worker/pull/745") |
112 | 122 | def test_debug_with_user_logging(self): |
113 | 123 | r = self.webhost.request('GET', 'debug_user_logging') |
114 | 124 | self.assertEqual(r.status_code, 200) |
115 | 125 | self.assertEqual(r.text, 'OK-user-debug') |
116 | 126 |
|
| 127 | + @unittest.skip("Reverting the debug logs PR as host currently cannot handle" |
| 128 | + "apps with lot of debug statements. Reverting PR: " |
| 129 | + "azure-functions-python-worker/pull/745") |
117 | 130 | def check_log_debug_with_user_logging(self, host_out: typing.List[str]): |
118 | 131 | self.assertIn('logging info', host_out) |
119 | 132 | self.assertIn('logging warning', host_out) |
|
0 commit comments