on xenial help sign in
Find home dirctory regardless of platform
b214ba0Josh Arenson
tests/autopilot/unity8/settings_wizard/fixture_setup.py+4−1
@@ -22,9 +22,12 @@
22import fixtures
22import fixtures
23import os
23import os
24
24
25+from os.path import expanduser
26+
25
27
26class SettingsWizard(fixtures.Fixture):
28class SettingsWizard(fixtures.Fixture):
29+ WIZARD_FILE = expanduser("~") + \
27− WIZARD_FILE = '/home/phablet/.config/ubuntu-system-settings/wizard-has-run'
30+ '/.config/ubuntu-system-settings/wizard-has-run'
28
31
29 def __init__(self, enable):
32 def __init__(self, enable):
30 super().__init__()
33 super().__init__()