Skip to content

Commit

Permalink
test-api: fix get status method
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
  • Loading branch information
Kamil Gierszewski committed Dec 17, 2024
1 parent dba5419 commit 983705d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/api/cas/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def get_statistics(
percentage_val=percentage_val,
)

def get_status(self):
return CoreStatus[self.__get_core_info()["status"].lower()]
def get_status(self) -> CoreStatus:
return self.__get_core_info()["status"]

def __get_seq_cut_off_parameters(self):
casadm_output = casadm.get_param_cutoff(
Expand Down

0 comments on commit 983705d

Please sign in to comment.