def test_c_write(self): global backup spa_phone.write(test_ip, backup) time.sleep(recovery_time) assert spa_phone.read(test_ip) == backup
def test_a_backup(self): global backup backup = spa_phone.read(test_ip)
def test_b_clear(self): spa_phone.write(test_ip, []) time.sleep(recovery_time) assert len(spa_phone.read(test_ip)) == 0