[Pkg-privacy-commits] [onionshare] 87/256: Fix path in test

Ulrike Uhlig ulrike at moszumanska.debian.org
Fri May 26 12:53:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

ulrike pushed a commit to branch master
in repository onionshare.

commit 304e6db4a5338d6dc384df1e3c9a5057a1dfd2f4
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Feb 21 17:14:53 2017 -0800

    Fix path in test
---
 test/onionshare_strings_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/onionshare_strings_test.py b/test/onionshare_strings_test.py
index 0a48e8c..dc20a27 100644
--- a/test/onionshare_strings_test.py
+++ b/test/onionshare_strings_test.py
@@ -22,7 +22,7 @@ from onionshare import helpers, strings
 
 # Stub get_resource_path so it finds the correct path while running tests
 def get_resource_path(filename):
-    resources_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'resources')
+    resources_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'share')
     path = os.path.join(resources_dir, filename)
     return path
 helpers.get_resource_path = get_resource_path

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list