Skip to content

Commit bcb3ba0

Browse files
authored
test: fix/skip integration test failures (#524)
1 parent 91e0d9b commit bcb3ba0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tests/integration/events/test_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def test_filter_events_by_entity_id():
184184
)
185185

186186

187+
@pytest.mark.skip(reason="https://github.com/linode/linode-cli/issues/500")
187188
def test_create_domain_and_filter_domain_events(events_setup):
188189
domain_id = events_setup
189190
result = exec_test_command(

tests/integration/image/test_plugin_image_upload.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ def test_file_upload(
8080
assert process.returncode == 0
8181

8282
# Assertions now using keywords due to some chars getting cut off from lack of terminal space
83-
assert re.search("cli-test", output)
83+
assert re.search("[0-9][0-9]+.[0-9]%", output)
8484
assert re.search("test", output)
85-
assert re.search("pending", output)
8685

8786
# Get the new image from the API
8887
process = exec_test_command(

tests/integration/tags/test_tags.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import pytest
44

55
from tests.integration.helpers import (
6+
delete_target_id,
67
exec_failing_test_command,
78
exec_test_command,
89
)
@@ -20,8 +21,11 @@ def test_create_tag():
2021
exec_test_command(
2122
BASE_CMD + ["create", "--label", unique_tag, "--text", "--no-headers"]
2223
).stdout.decode()
24+
2325
yield unique_tag
2426

27+
delete_target_id("tags", unique_tag)
28+
2529

2630
@pytest.mark.smoke
2731
def test_view_unique_tag(test_create_tag):

0 commit comments

Comments
 (0)