diff options
Diffstat (limited to 'test/daemon.py')
| -rw-r--r-- | test/daemon.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/daemon.py b/test/daemon.py index 074c860c..33806575 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -1723,6 +1723,9 @@ def gui_upgrades(old, new): if __name__ == '__main__': + # A session's state file is its HOME's, never the user's: the dumps a + # test makes there would push the user's out. + os.environ.pop('XDG_DATA_HOME', None) if sys.argv[1:3] == ['--upgrade', '--gui']: gui_upgrades(Path(sys.argv[3]).resolve(), Path(sys.argv[4]).resolve()) elif sys.argv[1:2] == ['--upgrade']: |
