File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
tests/integration/domains Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def print_help_action(
159159
160160 console .print ()
161161
162- if op .method == "get" and op .action == "list" :
162+ if op .method == "get" and op .response_model . is_paginated :
163163 _help_action_print_filter_args (console , op )
164164 return
165165
Original file line number Diff line number Diff line change @@ -195,3 +195,21 @@ def test_delete_a_domain_record(test_domain_and_record):
195195
196196 # Assert on status code returned from deleting domain
197197 assert process .returncode == SUCCESS_STATUS_CODE
198+
199+
200+ def test_help_records_list (test_domain_and_record ):
201+ process = exec_test_command (
202+ BASE_CMD
203+ + [
204+ "records-list" ,
205+ "--help" ,
206+ ]
207+ )
208+ output = process .stdout .decode ()
209+
210+ assert "Domain Records List" in output
211+ assert "You may filter results with:" in output
212+ assert "--type" in output
213+ assert "--name" in output
214+ assert "--target" in output
215+ assert "--tag" in output
You can’t perform that action at this time.
0 commit comments