Skip to content

Commit 6f859d2

Browse files
committed
Enable test_310_build_ios_with_copy_to
1 parent bbcd8b4 commit 6f859d2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

core/osutils/file.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def remove(file_path):
114114
Process.kill(proc_name='aapt')
115115
Process.kill(proc_name='adb')
116116
Process.kill_gradle()
117-
os.remove(file_path)
117+
shutil.rmtree(file_path)
118118

119119
@staticmethod
120120
def replace(file_path, str1, str2):

tests/build/ios/build_ios_tests.py

-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ def test_302_build_ios_with_ios_in_path(self):
122122
Tns.platform_add_ios(attributes={"--path": self.app_name_ios, "--frameworkPath": IOS_RUNTIME_PATH})
123123
Tns.build_ios(attributes={"--path": self.app_name_ios})
124124

125-
@unittest.skip("Ignored because of https://github.com/NativeScript/nativescript-cli/issues/2357")
126125
def test_310_build_ios_with_copy_to(self):
127126
File.remove("TestApp.app")
128127
Tns.create_app(self.app_name)

0 commit comments

Comments
 (0)