23 lines
477 B
Python
23 lines
477 B
Python
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (c) 2019 Wind River Systems, Inc.
|
|
#
|
|
|
|
import mock
|
|
import six # pylint: disable=unused-import
|
|
import sys
|
|
import testtools
|
|
|
|
sys.modules['rpm'] = mock.Mock()
|
|
sys.modules['rpmUtils'] = mock.Mock()
|
|
sys.modules['rpmUtils.miscutils'] = mock.Mock()
|
|
|
|
import cgcs_patch.patch_agent
|
|
|
|
|
|
class CgcsPatchAgentTestCase(testtools.TestCase):
|
|
|
|
def test_cgcs_patch_agent_instantiate(self):
|
|
pc = cgcs_patch.patch_agent.PatchAgent()
|