Skip to content

Commit 1dc469a

Browse files
Massimiliano Pippimasci
Massimiliano Pippi
authored andcommitted
fix esp url
1 parent 2af3286 commit 1dc469a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/test_core.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,14 @@ def test_core_updateindex_invalid_url(run_command):
107107

108108
def test_core_install_esp32(run_command, data_dir):
109109
# update index
110-
url = "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
110+
url = "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
111111
assert run_command("core update-index --additional-urls={}".format(url))
112112
# install 3rd-party core
113113
assert run_command("core install esp32:esp32 --additional-urls={}".format(url))
114114
# create a sketch and compile to double check the core was successfully installed
115115
sketch_path = os.path.join(data_dir, "test_core_install_esp32")
116116
assert run_command("sketch new {}".format(sketch_path))
117-
out = run_command("compile -b esp32:esp32:esp32 {}".format(sketch_path))
118-
print(out.stderr)
119-
assert out.ok
117+
assert run_command("compile -b esp32:esp32:esp32 {}".format(sketch_path))
120118
# prevent regressions for https://github.com/arduino/arduino-cli/issues/163
121119
assert os.path.exists(
122120
os.path.join(

0 commit comments

Comments
 (0)