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
1 changed files with 1 additions and 0 deletions

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')