diff --git a/tests/unittests/objects/fixtures/__init__.py b/tests/unittests/objects/fixtures/__init__.py deleted file mode 100644 index b8c15d27..00000000 --- a/tests/unittests/objects/fixtures/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (C) 2023 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# diff --git a/tests/unittests/objects/fixtures/test_fixtures.py b/tests/unittests/objects/fixtures/test_fixtures.py deleted file mode 100644 index fcec2c8b..00000000 --- a/tests/unittests/objects/fixtures/test_fixtures.py +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2023 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -import pytest - -from cli.objects.configuration import Configuration -from cli.objects.jira_base import Jira -from cli.objects.job import Job - - -@pytest.fixture(autouse=True) -def setup_test_environment( - assert_jira_token_in_env, - assert_jira_config_file_exists, - assert_default_jira_project_in_env, - assert_firewatch_config_in_env, - patch_job_junit_dir, - patch_job_log_dir, - assert_build_id_in_env, - assert_artifact_dir_exists, - assert_artifact_dir_in_env, - assert_job_dir_exists, -): - ... - - -def test_get_firewatch_config_instance_from_fixture(firewatch_config): - assert isinstance(firewatch_config, Configuration) - - -def test_get_job_instance_from_fixture(job): - assert isinstance(job, Job) - - -def test_get_jira_instance_from_fixture(jira): - assert isinstance(jira, Jira)