fix my.config mypy warning
This commit is contained in:
parent
37cfc412a4
commit
33f7f48ec5
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ import pytest # type: ignore
|
||||||
def prepare():
|
def prepare():
|
||||||
from my.common import get_files
|
from my.common import get_files
|
||||||
from my.config import reddit as config
|
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
|
# use less files for the test to make it faster
|
||||||
# first bit is for 'test_unfavorite, the second is for test_disappearing
|
# first bit is for 'test_unfavorite, the second is for test_disappearing
|
||||||
files = files[300:330] + files[500:520]
|
files = files[300:330] + files[500:520]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue