mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-14 08:49:47 -05:00
Fix path in test
This commit is contained in:
parent
05319f7344
commit
304e6db4a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user