Create first dummy sanity test case
Change-Id: I74a03d4ab25eada23b7d323aa4b2f8c2a62149ef
This commit is contained in:
parent
5dfa11d6a4
commit
2e7e8b71e5
15
tobiko/tests/sanity/__init__.py
Normal file
15
tobiko/tests/sanity/__init__.py
Normal file
@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2021 Red Hat, Inc.
|
||||
#
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
15
tobiko/tests/sanity/ha/__init__.py
Normal file
15
tobiko/tests/sanity/ha/__init__.py
Normal file
@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2021 Red Hat, Inc.
|
||||
#
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
24
tobiko/tests/sanity/ha/test_something.py
Normal file
24
tobiko/tests/sanity/ha/test_something.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright (c) 2021 Red Hat, Inc.
|
||||
#
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import testtools
|
||||
|
||||
|
||||
class DummySanityTest(testtools.TestCase):
|
||||
|
||||
def test_something(self):
|
||||
pass
|
11
tox.ini
11
tox.ini
@ -224,6 +224,17 @@ setenv =
|
||||
OS_TEST_PATH = {toxinidir}/tobiko/tests/scenario/nova
|
||||
|
||||
|
||||
[testenv:sanity]
|
||||
|
||||
basepython = {[integration]basepython}
|
||||
envdir = {[integration]envdir}
|
||||
passenv = {[integration]passenv}
|
||||
setenv =
|
||||
{[integration]setenv}
|
||||
OS_TEST_PATH = {toxinidir}/tobiko/tests/sanity
|
||||
PYTEST_TIMEOUT = 1800
|
||||
|
||||
|
||||
[testenv:faults]
|
||||
|
||||
basepython = {[integration]basepython}
|
||||
|
Loading…
Reference in New Issue
Block a user