Exemple #1
0
 def test_build_valid_apk(
     self,
     tmp_working_directory_path: str,
     tmp_demo_apk_v10_decoded_files_directory_path: str,
 ):
     output_apk_path = os.path.join(tmp_working_directory_path, "output.apk")
     output = Apktool().build(
         tmp_demo_apk_v10_decoded_files_directory_path,
         output_apk_path,
     )
     assert "using apktool" in output.lower()
     assert os.path.isfile(output_apk_path)
Exemple #2
0
 def test_decode_valid_apk(self, tmp_demo_apk_v10_original_path: str):
     output = Apktool().decode(tmp_demo_apk_v10_original_path)
     assert "using apktool" in output.lower()