mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 06:04:24 -07:00
Fix: add __metaclass__ for Python 2 compatibility in test
This commit is contained in:
parent
4aa341ae63
commit
8949e2b598
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
import pytest
|
||||
from unittest.mock import mock_open, patch, MagicMock
|
||||
from nfs_exports_info import get_exports
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def fake_exports_content():
|
||||
return """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue