Skip to content

Commit bc2d934

Browse files
committed
Fixed integration tests
1 parent 920f27d commit bc2d934

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: test/test_lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def test_lib_list_with_updatable_flag(run_command):
560560
result = run_command(["lib", "list", "--updatable"])
561561
assert result.ok
562562
assert "" == result.stderr
563-
assert "No updates available." in result.stdout.strip()
563+
assert "No libraries update is available." in result.stdout.strip()
564564
# No library to update in json
565565
result = run_command(["lib", "list", "--updatable", "--format", "json"])
566566
assert result.ok

Diff for: test/test_update.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def test_update_showing_outdated(run_command):
4545

4646
assert "Downloading index: package_index.tar.bz2 downloaded" in lines
4747
assert "Downloading index: library_index.tar.bz2 downloaded" in lines
48-
assert lines[-5].startswith("Arduino AVR Boards")
49-
assert lines[-2].startswith("USBHost")
48+
assert "Arduino AVR Boards" in lines[-5]
49+
assert "USBHost" in lines[-2]
5050

5151

5252
def test_update_with_url_not_found(run_command, httpserver):

0 commit comments

Comments
 (0)