-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sleep after state change * style * Set sleep to 0 in tests * ds * c
- Loading branch information
1 parent
7982abe
commit 80193ac
Showing
4 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
- be the state machine that controls which commands may run in given state | ||
""" | ||
__author__ = "Marcin Usielski" | ||
__copyright__ = "Copyright (C) 2019-2020, Nokia" | ||
__copyright__ = "Copyright (C) 2019-2024, Nokia" | ||
__email__ = "[email protected]" | ||
|
||
import abc | ||
|
@@ -87,6 +87,7 @@ def goto_state( | |
send_enter_after_changed_state=False, | ||
log_stacktrace_on_fail=True, | ||
keep_state=True, | ||
sleep_after_change=0.5 | ||
): | ||
""" | ||
Goes to state. | ||
|
@@ -98,6 +99,7 @@ def goto_state( | |
:param log_stacktrace_on_fail: Set True to log exceptions if command to enter state failed. | ||
:param keep_state: if True and state is changed without goto_state then device tries to change state to state | ||
defined by goto_state. | ||
:param sleep_after_change: Time in seconds to sleep after state change. | ||
:return: None | ||
""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters