Update utils tests
Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
parent
2334366914
commit
ea448b8584
@ -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