summaryrefslogtreecommitdiff
path: root/tests/test_urls.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-04-16 11:36:39 -0400
committerCole Robinson <crobinso@redhat.com>2018-04-16 11:36:39 -0400
commit105a6d20bed8c50706a43daab33c403cb8503edc (patch)
treec56562d9b9edddfa7235b8d404656879197665cc /tests/test_urls.py
parente9ba30a255f5c5a985bade205456c24c35ec55ac (diff)
downloadvirt-manager-105a6d20bed8c50706a43daab33c403cb8503edc.tar.gz
tests: urls: Fix custom ini file usage
Diffstat (limited to 'tests/test_urls.py')
-rw-r--r--tests/test_urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_urls.py b/tests/test_urls.py
index 4390ba83..06b1c55e 100644
--- a/tests/test_urls.py
+++ b/tests/test_urls.py
@@ -279,7 +279,7 @@ def _make_tests():
cfg.read("tests/test_urls.ini")
manualpath = "~/.config/virt-manager/test_urls_manual.ini"
- cfg.read(manualpath)
+ cfg.read(os.path.expanduser(manualpath))
if not os.path.exists(os.path.expanduser(manualpath)):
print("NOTE: Pass in manual data with %s" % manualpath)