Check if a post is archived before attempting to vote on it

This commit is contained in:
Michael Lazar
2018-08-05 00:32:11 -04:00
parent b164b5a6ba
commit 542c660b67
4 changed files with 2485 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ def vcr(request):
return vcr
@pytest.fixture()
@pytest.fixture(scope='session')
def refresh_token(request):
if request.config.option.record_mode == 'none':
return 'mock_refresh_token'