@@ -63,104 +63,115 @@ def test_104_platform_remove_help(self):
63
63
64
64
HelpTests .verify_help (output )
65
65
assert "platform remove" in output
66
- assert "Attributes" in output
67
66
assert "Platform" in output
68
67
assert "android" in output
69
68
70
69
if CURRENT_OS == OSType .OSX :
71
70
assert "ios" in output
71
+ assert "Attributes" in output
72
72
else :
73
73
assert "ios" not in output
74
+ assert "Attributes" not in output
74
75
75
76
def test_105_update_help (self ):
76
77
output = Tns .run_tns_command ("platform update --help" )
77
78
78
79
HelpTests .verify_help (output )
79
80
assert "platform update" in output
80
- assert "Attributes" in output
81
81
assert "Android selected runtime" in output
82
82
83
83
if CURRENT_OS == OSType .OSX :
84
84
assert "iOS latest runtime" in output
85
+ assert "Attributes" in output
85
86
else :
86
87
assert "iOS latest runtime" not in output
88
+ assert "Attributes" not in output
87
89
88
90
def test_106_prepare_help (self ):
89
91
output = Tns .run_tns_command ("prepare --help" )
90
92
91
93
HelpTests .verify_help (output )
92
94
assert "prepare" in output
93
95
assert "android" in output
94
- assert "Attributes" in output
95
96
96
97
if CURRENT_OS == OSType .OSX :
97
98
assert "ios" in output
99
+ assert "Attributes" in output
98
100
else :
99
101
assert "ios" not in output
102
+ assert "Attributes" not in output
100
103
101
104
def test_107_build_help (self ):
102
105
output = Tns .run_tns_command ("build --help" )
103
106
104
107
HelpTests .verify_help (output )
105
108
assert "build" in output
106
109
assert "android" in output
107
- assert "Attributes" in output
108
110
109
111
if CURRENT_OS == OSType .OSX :
110
112
assert "ios" in output
113
+ assert "Attributes" in output
111
114
else :
112
115
assert "ios" not in output
116
+ assert "Attributes" not in output
113
117
114
118
def test_108_deploy_help (self ):
115
119
output = Tns .run_tns_command ("deploy --help" )
116
120
117
121
HelpTests .verify_help (output )
118
122
assert "deploy" in output
119
- assert "Attributes" in output
120
123
assert "Options for Android" in output
121
124
assert "device" in output
122
125
assert "release" in output
123
126
124
127
if CURRENT_OS == OSType .OSX :
125
128
assert "Options for iOS" in output
129
+ assert "Attributes" in output
126
130
else :
127
131
assert "Options for iOS" not in output
132
+ assert "Attributes" not in output
128
133
129
134
def test_109_run_help (self ):
130
135
output = Tns .run_tns_command ("run --help" )
131
136
132
137
HelpTests .verify_help (output )
133
- assert "Attributes" in output
134
138
assert "run" in output
135
139
assert "Options" in output
136
140
assert "release" in output
137
141
assert "device" in output
138
142
143
+ if CURRENT_OS == OSType .OSX :
144
+ assert "Attributes" in output
145
+ else :
146
+ assert "Attributes" not in output
147
+
139
148
def test_110_debug_help (self ):
140
149
output = Tns .run_tns_command ("debug --help" )
141
150
142
151
HelpTests .verify_help (output )
143
- assert "Attributes" in output
144
152
assert "debug" in output
145
153
assert "android" in output
146
154
147
155
if CURRENT_OS == OSType .OSX :
148
156
assert "ios" in output
157
+ assert "Attributes" in output
149
158
else :
150
159
assert "ios" not in output
160
+ assert "Attributes" not in output
151
161
152
162
def test_111_test_help (self ):
153
163
output = Tns .run_tns_command ("test --help" )
154
164
155
165
HelpTests .verify_help (output )
156
- assert "Attributes" in output
157
166
assert "test" in output
158
167
assert "android" in output
159
168
160
169
if CURRENT_OS == OSType .OSX :
161
170
assert "ios" in output
171
+ assert "Attributes" in output
162
172
else :
163
173
assert "ios" not in output
174
+ assert "Attributes" not in output
164
175
165
176
def test_112_install_help (self ):
166
177
output = Tns .run_tns_command ("install -h" )
@@ -175,19 +186,27 @@ def test_113_plugin_help(self):
175
186
output = Tns .run_tns_command ("plugin --help" )
176
187
177
188
HelpTests .verify_help (output )
178
- assert "Attributes" in output
179
189
assert "plugin" in output
180
190
assert "add" in output
181
191
assert "remove" in output
182
192
assert "update" in output
183
193
assert "find" in output
184
194
assert "search" in output
185
195
196
+ if CURRENT_OS == OSType .OSX :
197
+ assert "Attributes" in output
198
+ else :
199
+ assert "Attributes" not in output
200
+
186
201
def test_114_device_log_help (self ):
187
202
output = Tns .run_tns_command ("device log --help" )
188
203
189
204
HelpTests .verify_help (output )
190
- assert "Attributes" in output
191
205
assert "device log" in output
192
206
assert "Options" in output
193
207
assert "device" in output
208
+
209
+ if CURRENT_OS == OSType .OSX :
210
+ assert "Attributes" in output
211
+ else :
212
+ assert "Attributes" not in output
0 commit comments