Skip to content

Commit

Permalink
Addressing PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
parthaa committed Apr 9, 2024
1 parent 7497eed commit 4c8cef3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/modules/content_import_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
DOCUMENTATION = '''
---
module: content_import_info
version_added: 4.0.0
version_added: 4.1.0
short_description: List content imports
description:
- List information about content imports.
Expand Down
1 change: 0 additions & 1 deletion tests/test_playbooks/content_import_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
include_tasks: tasks/content_import.yml # Full export
vars:
import_type: "repository"
expected_change: true

- hosts: tests
collections:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_playbooks/tasks/content_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
password: "{{ foreman_password }}"
server_url: "{{ foreman_server_url }}"
organization: "{{ organization_name }}"
register: result

- assert:
fail_msg: "Repository export failed!"
fail_msg: "Repository import failed!"
that:
- result.changed == expected_change
when: expected_change is defined
Expand Down

0 comments on commit 4c8cef3

Please sign in to comment.