mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2026-03-08 09:17:02 +01:00
23 lines
502 B
Python
23 lines
502 B
Python
import os
|
|
import time
|
|
|
|
import pytest
|
|
from flippigator.case import BaseCase
|
|
from termcolor import colored
|
|
|
|
os.system("color")
|
|
|
|
|
|
@pytest.mark.xfail
|
|
@pytest.mark.badusb
|
|
class TestBadusb(BaseCase):
|
|
async def test_badusb_menu(self, nav):
|
|
await nav.badusb.go_into()
|
|
menu = await nav.get_menu_list()
|
|
menu_ref = [
|
|
"Connection is active",
|
|
"BTIcon",
|
|
]
|
|
assert menu == menu_ref, "Bad USB menu list is wrong"
|
|
await nav.go_to_main_screen()
|