From 0ce2585f7f27fc8cacc22d10b1fc2885ea2c2a68 Mon Sep 17 00:00:00 2001 From: Serene-Arc Date: Tue, 27 Sep 2022 10:59:39 +1000 Subject: [PATCH] Update path so tests do not skip --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index da02948..a61d8d5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,7 +23,7 @@ def reddit_instance(): @pytest.fixture(scope='session') def authenticated_reddit_instance(): - test_config_path = Path('test_config.cfg') + test_config_path = Path('./tests/test_config.cfg') if not test_config_path.exists(): pytest.skip('Refresh token must be provided to authenticate with OAuth2') cfg_parser = configparser.ConfigParser()