Added logging, fixed tests

This commit is contained in:
Michael Lazar
2017-03-28 22:50:51 -07:00
parent 87576a6dec
commit 92a221305c
7 changed files with 42 additions and 23 deletions

View File

@@ -174,7 +174,7 @@ def reddit(vcr, request):
os.remove(filename)
with vcr.use_cassette(cassette_name):
with patch('praw.Reddit.get_access_information'):
with patch('rtv.packages.praw.Reddit.get_access_information'):
reddit = praw.Reddit(user_agent='rtv test suite',
decode_html_entities=False,
disable_update_check=True)