@@ -63,7 +63,6 @@ def test_104_platform_remove_help(self):
63
63
64
64
HelpTests .verify_help (output )
65
65
assert "platform remove" in output
66
- assert "Platform" in output
67
66
assert "android" in output
68
67
69
68
if CURRENT_OS == OSType .OSX :
@@ -79,13 +78,12 @@ def test_105_update_help(self):
79
78
HelpTests .verify_help (output )
80
79
assert "platform update" in output
81
80
assert "Android selected runtime" in output
81
+ assert "Attributes" in output
82
82
83
83
if CURRENT_OS == OSType .OSX :
84
84
assert "iOS latest runtime" in output
85
- assert "Attributes" in output
86
85
else :
87
86
assert "iOS latest runtime" not in output
88
- assert "Attributes" not in output
89
87
90
88
def test_106_prepare_help (self ):
91
89
output = Tns .run_tns_command ("prepare --help" )
@@ -120,16 +118,17 @@ def test_108_deploy_help(self):
120
118
121
119
HelpTests .verify_help (output )
122
120
assert "deploy" in output
123
- assert "Options for Android" in output
124
121
assert "device" in output
125
122
assert "release" in output
126
123
127
124
if CURRENT_OS == OSType .OSX :
128
125
assert "Options for iOS" in output
129
126
assert "Attributes" in output
127
+ assert "Options for Android" in output
130
128
else :
131
129
assert "Options for iOS" not in output
132
130
assert "Attributes" not in output
131
+ assert "Options" in output
133
132
134
133
def test_109_run_help (self ):
135
134
output = Tns .run_tns_command ("run --help" )
@@ -139,11 +138,7 @@ def test_109_run_help(self):
139
138
assert "Options" in output
140
139
assert "release" in output
141
140
assert "device" in output
142
-
143
- if CURRENT_OS == OSType .OSX :
144
- assert "Attributes" in output
145
- else :
146
- assert "Attributes" not in output
141
+ assert "Attributes" in output
147
142
148
143
def test_110_debug_help (self ):
149
144
output = Tns .run_tns_command ("debug --help" )
@@ -192,11 +187,7 @@ def test_113_plugin_help(self):
192
187
assert "update" in output
193
188
assert "find" in output
194
189
assert "search" in output
195
-
196
- if CURRENT_OS == OSType .OSX :
197
- assert "Attributes" in output
198
- else :
199
- assert "Attributes" not in output
190
+ assert "Attributes" in output
200
191
201
192
def test_114_device_log_help (self ):
202
193
output = Tns .run_tns_command ("device log --help" )
@@ -205,8 +196,4 @@ def test_114_device_log_help(self):
205
196
assert "device log" in output
206
197
assert "Options" in output
207
198
assert "device" in output
208
-
209
- if CURRENT_OS == OSType .OSX :
210
- assert "Attributes" in output
211
- else :
212
- assert "Attributes" not in output
199
+ assert "Attributes" in output
0 commit comments