Skip to content

Commit f583230

Browse files
author
vhristov5555
committed
Merge remote-tracking branch 'origin/master'
2 parents 835dfd7 + 838c1d1 commit f583230

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

core/tns/tns_verifications.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ def platform_added(app_name, platform=Platform.NONE, output=None):
150150
# Verify console output is correct
151151
if output is not None:
152152
assert 'Copying template files...' in output
153-
assert 'Project successfully created.' in output
153+
if platform is Platform.ANDROID:
154+
assert 'Platform android successfully added' in output
155+
if platform is Platform.IOS:
156+
assert 'Platform ios successfully added.' in output
157+
assert 'Project successfully created.' not in output
154158

155159
# This is to handle test for app with space.
156160
# In this case we put app name inside ''.

tests/helpers/debug_chrome.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from aetypes import Enum
21
from time import sleep
32

3+
from enum import Enum
4+
45
from core.chrome.chrome import Chrome
56
from core.osutils.command import run
67
from core.osutils.file import File

0 commit comments

Comments
 (0)