summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/dps/src/dps.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/dps/src/dps.c')
-rw-r--r--zephyr/test/drivers/dps/src/dps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/test/drivers/dps/src/dps.c b/zephyr/test/drivers/dps/src/dps.c
index a573da670b..d445767df4 100644
--- a/zephyr/test/drivers/dps/src/dps.c
+++ b/zephyr/test/drivers/dps/src/dps.c
@@ -3,14 +3,14 @@
* found in the LICENSE file.
*/
+#include <zephyr/ztest.h>
+
#include "builtin/stdio.h"
#include "console.h"
#include "dps.h"
#include "test/drivers/test_state.h"
#include "timer.h"
-#include <zephyr/ztest.h>
-
struct dps_fixture {
struct dps_config_t saved_config;
int saved_debug_level;
@@ -89,7 +89,7 @@ ZTEST(dps, console_cmd__enable)
ZTEST(dps, console_cmd__disable)
{
/* Should already by enabled due to before() function */
- zassert_true(dps_is_enabled(), NULL);
+ zassume_true(dps_is_enabled(), NULL);
zassert_ok(shell_execute_cmd(get_ec_shell(), "dps dis"), NULL);
@@ -104,7 +104,7 @@ ZTEST(dps, console_cmd__fakepwr_print)
ZTEST(dps, console_cmd__fakepwr_enable_disable)
{
- zassert_false(dps_is_fake_enabled(),
+ zassume_false(dps_is_fake_enabled(),
"fakepwr shouldn't be enabled by default");
zassert_ok(shell_execute_cmd(get_ec_shell(), "dps fakepwr 100 200"),