Skip to content

Commit 44e4374

Browse files
Fix integration tests (#798)
1 parent 96144c8 commit 44e4374

File tree

3 files changed

+1
-46
lines changed

3 files changed

+1
-46
lines changed

tests/integration/account/test_account.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,6 @@ def test_event_view(get_event_id):
8686
assert_headers_in_lines(headers, lines)
8787

8888

89-
def test_event_read(get_event_id):
90-
event_id = get_event_id
91-
process = exec_test_command(
92-
[
93-
"linode-cli",
94-
"events",
95-
"mark-read",
96-
event_id,
97-
"--text",
98-
"--delimiter=,",
99-
]
100-
)
101-
102-
10389
def test_event_seen(get_event_id):
10490
event_id = get_event_id
10591
process = exec_test_command(

tests/integration/events/test_events.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ def test_print_events_usage_information():
1313

1414
assert "linode-cli events [ACTION]" in output
1515

16-
assert re.search(
17-
"mark-read.*(Event Mark as Read|Mark an event as read)", output
18-
)
1916
assert re.search(
2017
"mark-seen.*(Event Mark as Seen|Mark an event as seen)", output
2118
)
@@ -78,34 +75,6 @@ def test_mark_event_seen():
7875
assert re.search("[0-9]+,.*,.*,[0-9]+-[0-9][0-9]-.*,.*,[a-z]+.*", result)
7976

8077

81-
@pytest.mark.smoke
82-
def test_mark_event_read():
83-
event_id = exec_test_command(
84-
[
85-
"linode-cli",
86-
"events",
87-
"list",
88-
"--format",
89-
"id",
90-
"--no-headers",
91-
"--text",
92-
]
93-
).split()[0]
94-
95-
# mark event as read
96-
exec_test_command(
97-
BASE_CMDS["events"]
98-
+ ["mark-read", event_id, "--text", "--no-headers", "--delimiter", ","]
99-
)
100-
101-
# view event
102-
result = exec_test_command(
103-
BASE_CMDS["events"]
104-
+ ["view", event_id, "--text", "--no-headers", "--delimiter", ","]
105-
)
106-
assert re.search("[0-9]+,.*,.*,[0-9]+-[0-9][0-9]-.*,.*,[a-z]+.*", result)
107-
108-
10978
def test_filter_events_by_entity_id():
11079
event_id = exec_test_command(
11180
[

tests/integration/lke/test_lke_enterprise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test_lke_tiered_versions_view():
138138
+ [
139139
"tiered-version-view",
140140
"standard",
141-
"1.31",
141+
"1.33",
142142
"--json",
143143
]
144144
)

0 commit comments

Comments
 (0)