1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins/modules
Martin Migasiewicz ece0202507
feat(pkgin): add support for installation of full versioned package names (#1256)
* * pkgin query_package(..) understands now also package name with version (my-package-1.2nb123456). * pkgin query_package(..) will distinct between not-installed and not-found packages. * pkgin install_package(..) fails with proper error if a non-existing package is attempted to be installed.

* fixup ansibot comments

* add changelog fragment

* add example

* use more pythonic condition

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* remove extra dot between description and link to PR

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* fix file extension of changelog fragment

* add pkgin unit tests for query_package function

* fix pep8 issues

* use enum Flag instead mix of strings, bools and None as return value

* use IntEnum instead Flag to support Python versions >= 2.6

* fix pep8 and pylint errors

* use regular class instead enum to avoid issues with older Python releases

* fix comment

* remove the combined package state since without an IntFlag or Flag the usage of it would require to use logical operators

Co-authored-by: Erik van Nooijen <eric.vannooijen@tomtom.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-11-21 21:20:27 +01:00
..
cloud kubevirt: Re-enable unit tests (#1070) 2020-10-12 07:38:33 +02:00
database postgresql_ext: fix module's failing when available ext versions contain a pure string (#1099) 2020-10-16 11:56:15 +03:00
messaging Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
monitoring Adds a module for sending PagerDuty change events. (#1269) 2020-11-13 11:44:57 +03:00
net_tools Add hetzner_failover_ip* tests (#1301) 2020-11-16 07:50:56 +01:00
notification move conversion of data to json in slack API handling (#1101) 2020-10-19 10:58:14 +03:00
packaging feat(pkgin): add support for installation of full versioned package names (#1256) 2020-11-21 21:20:27 +01:00
remote_management sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
source_control added description parameter to create request (#1196) 2020-11-11 13:33:38 +01:00
storage sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
system Add ability to resize existing partition (#773) 2020-11-21 21:18:42 +01:00
web_infrastructure sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
__init__.py Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
conftest.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
utils.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00