~aleteoryx/muditaos

ref: 9534a84e627eff71410b5383b9bbea8f71d5b8e6 muditaos/test/pytest/service-desktop/test_backup.py -rw-r--r-- 481 bytes
9534a84e — SP2FET [EGD-6022] Fix tests used in CI process 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
import pytest
from harness.interface.defs import status

@pytest.mark.skip("rkubiak01 is fixing this issue")
@pytest.mark.service_desktop_test
@pytest.mark.usefixtures("usb_unlocked")
def test_backup(harness):
    body = { "request": True }
    ret = harness.endpoint_request("backup", "get", body)
    assert ret["status"] == status["BadRequest"]