kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
python_test_framework
rodzic
77b543f607
commit
b4ffeb0110
|
@ -7,7 +7,7 @@ def test_basic_port(ESP):
|
|||
ESP.begin()
|
||||
ESP.openPort()
|
||||
ESP.closePort()
|
||||
ESP.end()
|
||||
ESP.stop()
|
||||
|
||||
|
||||
def test_flash(ESP):
|
||||
|
@ -18,7 +18,7 @@ def test_flash(ESP):
|
|||
ESP.flash.verify("0x8000", bin_dir / 'partitions.bin')
|
||||
ESP.flash.verify("0xe000", bin_dir / 'boot_app0.bin')
|
||||
ESP.flash.verify("0x10000", bin_dir / 'firmware.bin')
|
||||
ESP.end()
|
||||
ESP.stop()
|
||||
|
||||
|
||||
def test_flash_config(ESP):
|
||||
|
@ -26,13 +26,13 @@ def test_flash_config(ESP):
|
|||
ESP.config.data["bar"] = "foo"
|
||||
ESP.config.data["number"] = 123
|
||||
ESP.writeConfig()
|
||||
ESP.end()
|
||||
ESP.stop()
|
||||
|
||||
|
||||
def test_erase(ESP):
|
||||
ESP.begin()
|
||||
ESP.flash.erase()
|
||||
ESP.end()
|
||||
ESP.stop()
|
||||
|
||||
|
||||
def test_aprs_login(APRSIS):
|
||||
|
|
Ładowanie…
Reference in New Issue