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:
parent
372a15220a
commit
a27bbe9eea
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue