use absolute path for test settings file
This commit is contained in:
		| @@ -64,7 +64,8 @@ class ModuleTest(unittest.TestCase): | |||||||
|             with open('settings.json', mode="w", encoding="utf-8") as file: |             with open('settings.json', mode="w", encoding="utf-8") as file: | ||||||
|                 file.write(test_config) |                 file.write(test_config) | ||||||
|         print('testing Inkycal in non-render-mode...', end="") |         print('testing Inkycal in non-render-mode...', end="") | ||||||
|         inky = Inkycal('settings.json', render=False) |         absolute_path_settings_json = os.path.abspath('settings.json') | ||||||
|  |         inky = Inkycal(settings_path=absolute_path_settings_json, render=False) | ||||||
|         inky.test() |         inky.test() | ||||||
|         print('OK') |         print('OK') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user