@@ -150,28 +150,28 @@ def test_113_livesync_ios_simulator_watch_change_css_file(self):
150
150
assert "color: green;" in output
151
151
152
152
153
- # # Delete files
154
- # def test_121_livesync_ios_simulator_watch_delete_xml_file(self):
155
- # remove("TNS_App/app/test/test.xml")
156
- # self.wait_for_text_in_output("app/test/test.xml")
157
- #
158
- # output = cat_app_file_on_simulator("TNSApp", "app/test/test.xml")
159
- # assert "No such file or directory" in output
160
- #
161
- # def test_122_livesync_ios_simulator_watch_delete_js_file(self):
162
- # remove("TNS_App/app/test/test.js")
163
- # self.wait_for_text_in_output("app/test/test.js")
164
- # time.sleep(2)
165
- #
166
- # output = cat_app_file_on_simulator("TNSApp", "app/test/test.js")
167
- # assert "No such file or directory" in output
168
- #
169
- # def test_123_livesync_ios_simulator_watch_delete_css_file(self):
170
- # remove("TNS_App/app/test/test.css")
171
- # self.wait_for_text_in_output("app/test/test.css")
172
- #
173
- # output = cat_app_file_on_simulator("TNSApp", "app/test/test.css")
174
- # assert "No such file or directory" in output
153
+ # Delete files
154
+ def test_121_livesync_ios_simulator_watch_delete_xml_file (self ):
155
+ remove ("TNS_App/app/test/test.xml" )
156
+ self .wait_for_text_in_output ("app/test/test.xml" )
157
+
158
+ output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.xml" )
159
+ assert "No such file or directory" in output
160
+
161
+ def test_122_livesync_ios_simulator_watch_delete_js_file (self ):
162
+ remove ("TNS_App/app/test/test.js" )
163
+ self .wait_for_text_in_output ("app/test/test.js" )
164
+ time .sleep (2 )
165
+
166
+ output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.js" )
167
+ assert "No such file or directory" in output
168
+
169
+ def test_123_livesync_ios_simulator_watch_delete_css_file (self ):
170
+ remove ("TNS_App/app/test/test.css" )
171
+ self .wait_for_text_in_output ("app/test/test.css" )
172
+
173
+ output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.css" )
174
+ assert "No such file or directory" in output
175
175
176
176
177
177
def test_301_livesync_ios_simulator_before_run (self ):
0 commit comments