[Replicant] [vendor_replicant-scripts] [PATCH 2/6] tests: lib: releases: remove unused install_zip function
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Fri Jan 7 18:56:04 UTC 2022
The install_zip function being used is in replicant_releases.py.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
tests/src/lib/releases.py | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/tests/src/lib/releases.py b/tests/src/lib/releases.py
index c75c1a4..054613f 100644
--- a/tests/src/lib/releases.py
+++ b/tests/src/lib/releases.py
@@ -173,18 +173,6 @@ class RecoveryRuntime(object):
self.host.run(['adb', 'reboot', 'recovery'])
- @trace
- def install_zip(self, recovery_path):
- filename = recovery_path.split(os.sep)[-1]
- if not self.quiet:
- print('Installing {} on {}'.format(filename, self.device))
-
- if not self.quiet:
- print('Starting to install {} on {}'.format(filename, self.device))
-
- self.append_recovery_command('--sideload')
- self.host.run(['adb', 'reboot', 'recovery'])
-
def install_release(local_config, major_version, minor_version, device):
if not self.quiet:
print('Installing Replicant {} {} on {}'.format(filename,
--
2.34.1
More information about the Replicant
mailing list