1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-12-04 14:46:33 -05:00

Merge pull request #57 from 0mp/master

Fix XDG_CONFIG_HOME tests
This commit is contained in:
Ivan Habunek 2018-04-19 14:39:21 +02:00 committed by GitHub
commit 5176af78fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,7 @@ def test_get_config_file_path():
fn = config.get_config_file_path
os.unsetenv('XDG_CONFIG_HOME')
os.environ.pop('XDG_CONFIG_HOME', None)
assert fn() == os.path.expanduser('~/.config/toot/config.json')