Merge pull request #375 from imjfckm/util-test-update
Update utils tests
This commit is contained in:
commit
6dda643321
@ -3,7 +3,7 @@
|
|||||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
#
|
#
|
||||||
|
|
||||||
import mock
|
import unittest.mock as mock
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from mock import patch, mock_open
|
from unittest.mock import patch, mock_open
|
||||||
from textwrap import dedent
|
from textwrap import dedent
|
||||||
import helpers as h
|
import helpers as h
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import mock
|
import unittest.mock as mock
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
import helpers as h
|
import helpers as h
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import mock
|
import unittest.mock as mock
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
import helpers as h
|
import helpers as h
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import subprocess
|
import subprocess
|
||||||
import mock
|
import unittest.mock as mock
|
||||||
|
|
||||||
from opencas import casadm
|
from opencas import casadm
|
||||||
from helpers import get_process_mock
|
from helpers import get_process_mock
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from mock import patch
|
from unittest.mock import patch
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import opencas
|
import opencas
|
||||||
|
Loading…
Reference in New Issue
Block a user