mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-15 02:21:44 -07:00
* Add module name into fixtures directory name.
* Rename conftest.py to avoid collisions.
* Match filenames inside directories.
(cherry picked from commit fa924aae31
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
1f0361a1c6
commit
833530ab47
368 changed files with 113 additions and 59 deletions
|
@ -11,7 +11,8 @@ __metaclass__ = type
|
|||
import json
|
||||
import pytest
|
||||
|
||||
from .common import fake_xenapi_ref
|
||||
from .xenserver_common import fake_xenapi_ref
|
||||
from .xenserver_conftest import XenAPI, xenserver_guest_info
|
||||
|
||||
pytestmark = pytest.mark.usefixtures('patch_ansible_module')
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ __metaclass__ = type
|
|||
import json
|
||||
import pytest
|
||||
|
||||
from .common import fake_xenapi_ref
|
||||
from .xenserver_common import fake_xenapi_ref
|
||||
from .xenserver_conftest import fake_ansible_module, XenAPI, xenserver_guest_powerstate
|
||||
|
||||
|
||||
testcase_set_powerstate = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue