From 33f7f48ec5258464a9898ed83670f323f760fa47 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Thu, 28 Oct 2021 13:51:54 -0700 Subject: [PATCH] fix my.config mypy warning --- tests/reddit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/reddit.py b/tests/reddit.py index 27fa0f2..b0dd47a 100644 --- a/tests/reddit.py +++ b/tests/reddit.py @@ -61,7 +61,9 @@ import pytest # type: ignore def prepare(): from my.common import get_files from my.config import reddit as config - files = get_files(config.export_path) + # since these are only tested locally, the config should be fine + # just need to make sure local config matches that in my.config properly + files = get_files(config.rexport.export_path) # use less files for the test to make it faster # first bit is for 'test_unfavorite, the second is for test_disappearing files = files[300:330] + files[500:520]