Skip to content

Commit

Permalink
Tests: correctly configure logger for server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Apr 8, 2021
1 parent 39ca39b commit 31f5dd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import logging
import operator
import os
import socket
Expand All @@ -35,6 +36,9 @@
SkipTest, certificate, unittest, TEST_SUBJECT, SSLTestCase, SERVER_VERSION,
TEST_RELEASES)

logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)


class ServerVersionTestCase(unittest.TestCase):
def _test_version_parse(self, version_str, expected_version):
Expand Down

0 comments on commit 31f5dd3

Please sign in to comment.