whale_cover¶
Source code: whale_cover.py
Checks if Whale’s cover is opened / closed.
Description¶
Internal references¶
go/cros_whale_slides
Test Procedure¶
Display instruction to tell the operator to open/close the cover.
The operator opens/closes the cover.
Dependency¶
bft_fixture
Whale
Examples¶
An example of checking if whale is closed:
{
"pytest_name": "whale_cover",
"args": {
"bft_fixture": {
"class_name":
"cros.factory.test.fixture.dummy_bft_fixture.DummyBFTFixture",
"params": {}
},
"check_interval_secs": 0.2,
"check_open": false
}
}
Test Arguments¶
Name |
Type |
Description |
---|---|---|
bft_fixture |
dict |
A dictionary with the following items:
The default value of |
check_interval_secs |
int, float |
(optional; default: |
check_open |
bool |
(optional; default: |