freebsd-ports/net-im/toot/files/patch-tests_test__config.py
Kirill Ponomarev 020f3bd196 Toot is a Mastodon CLI client written in Python, which lets you log
into your Mastodon account, search for users and hashtags, display
timelines, post (toot), upload media files and perform account
related actions such us following, muting and blocking.

WWW: https://github.com/ihabunek/toot

PR:		227587
Submitted by:	Mateusz Piotrowski <0mp@FreeBSD.org>
2018-04-18 10:50:38 +00:00

10 lines
323 B
Python

--- tests/test_config.py.orig 2018-04-17 19:03:23 UTC
+++ tests/test_config.py
@@ -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')