Revert "Skip multi-device tests instead of abort if device is non-B+ devices"

This reverts commit 372a15220a.

Reason for revert: this is Android B+ CTS and shouldn't be run with previous release, this can help to catch human error.

Change-Id: I867c63511d4f640e07b8317506291de284efcef3
This commit is contained in:
Jimi Chen 2025-03-20 04:30:28 -07:00
commit a27bbe9eea

View file

@ -439,10 +439,10 @@ def at_least_B():
def wrapper(self, *args, **kwargs):
asserts.abort_class_if(
(not hasattr(self, 'client')) or (not hasattr(self.client, 'isAtLeastB')),
"client device is not B+"
"no valid client attribute"
)
asserts.skip_if(not self.client.isAtLeastB(), "not B+")
asserts.abort_class_if(not self.client.isAtLeastB(), "client device is not Android B+")
return test_function(self, *args, **kwargs)
return wrapper
return decorator