Skip to content

Commit 20b8790

Browse files
author
Dimitar Topuzov
committed
Fix test_301_build_ios_with_space
1 parent 547fa48 commit 20b8790

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/tns/tns_verifications.py

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def platform_added(app_name, platform=Platforms.NONE, output=None):
113113
# This is to handle test for app with space.
114114
# In this case we put app name inside ''.
115115
app_name = app_name.replace('\'', '')
116+
app_name = app_name.replace('\"', '')
116117

117118
# Verify file and folder content
118119
if platform is Platforms.NONE:
@@ -186,9 +187,11 @@ def get_package_json(app_name):
186187
:return: package.json as json object.
187188
'''
188189
path = os.path.join(app_name, 'package.json')
190+
189191
# This is to handle test for app with space.
190192
# In this case we put app name inside ''.
191193
path = path.replace('\'', '')
194+
path = path.replace('\"', '')
192195

193196
# Check if file exists
194197
assert File.exists(path), 'Failed to find package.json at ' + path

0 commit comments

Comments
 (0)