Fix path in test

This commit is contained in:
Micah Lee 2017-02-21 17:14:53 -08:00
parent 05319f7344
commit 304e6db4a5
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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