Skip to content

Commit 4e94f8a

Browse files
committed
update assert for .apk file due to NativeScript/nativescript-cli#3923
1 parent 0bc4fc7 commit 4e94f8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/build/android/build_android_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def test_001_build_android(self):
108108
archive = ZipFile(os.path.join(self.app_name, TnsAsserts.PLATFORM_ANDROID_APK_DEBUG_PATH, self.debug_apk))
109109
archive.extractall(self.app_name + "/temp")
110110
archive.close()
111+
# Ceanup META-INF folder. It contains com.android.support.... files which are expected to be there due to
112+
# https://github.com/NativeScript/nativescript-cli/pull/3923
113+
Folder.cleanup(os.path.join(self.app_name, "temp", "META-INF"))
111114
assert not File.pattern_exists(self.app_name + "/temp", "*.aar")
112115
assert not File.pattern_exists(self.app_name + "/temp", "*.plist")
113116
assert not File.pattern_exists(self.app_name + "/temp", "*.android.*")

0 commit comments

Comments
 (0)