Fix file path for test

This commit is contained in:
Serene-Arc
2022-07-23 17:02:01 +10:00
parent 7ae318fb20
commit 1f1e7dc63d

View File

@@ -25,7 +25,7 @@ def test_process_click_context(arg_dict: dict):
def test_yaml_file_read(): def test_yaml_file_read():
file = './yaml_test_configuration.yaml' file = './tests/yaml_test_configuration.yaml'
test_config = Configuration() test_config = Configuration()
test_config.parse_yaml_options(file) test_config.parse_yaml_options(file)
assert test_config.subreddit == ['EarthPorn', 'TwoXChromosomes', 'Mindustry'] assert test_config.subreddit == ['EarthPorn', 'TwoXChromosomes', 'Mindustry']