Skip to content

Commit

Permalink
test fix: setup logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
popravich committed Oct 2, 2018
1 parent a853ca0 commit 5295d8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os.path

import pytest
Expand Down Expand Up @@ -201,6 +202,7 @@ def test_egg_info_matches(egg_info, search_name, expected):
],
)
def test_request_retries(exception, message, caplog):
caplog.set_level(logging.DEBUG)
link = Link('http://localhost')
session = Mock(PipSession)
session.get.return_value = resp = Mock()
Expand Down

0 comments on commit 5295d8b

Please sign in to comment.