diff --git a/sysinv/sysinv/sysinv/sysinv/tests/conductor/test_kube_app_app_operator.py b/sysinv/sysinv/sysinv/sysinv/tests/conductor/test_kube_app_app_operator.py new file mode 100644 index 0000000000..b9f4dfda32 --- /dev/null +++ b/sysinv/sysinv/sysinv/sysinv/tests/conductor/test_kube_app_app_operator.py @@ -0,0 +1,24 @@ +# +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2020 Intel Corporation +# + +"""Test class for Sysinv kube_app AppOperator.""" + +from sysinv.conductor import kube_app +from sysinv.db import api as dbapi +from sysinv.openstack.common import context + +from sysinv.tests.db import base + + +class AppOperatorTestCase(base.DbTestCase): + + def setUp(self): + super(AppOperatorTestCase, self).setUp() + + # Set up objects for testing + self.app_operator = kube_app.AppOperator(dbapi.get_instance()) + self.context = context.get_admin_context() + self.dbapi = dbapi.get_instance()