|
1
|
|
|
# -*- coding: utf-8 -*- |
|
2
|
|
|
# Copyright (C) 2021 Greenbone Networks GmbH |
|
3
|
|
|
# |
|
4
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
5
|
|
|
# |
|
6
|
|
|
# This program is free software: you can redistribute it and/or modify |
|
7
|
|
|
# it under the terms of the GNU General Public License as published by |
|
8
|
|
|
# the Free Software Foundation, either version 3 of the License, or |
|
9
|
|
|
# (at your option) any later version. |
|
10
|
|
|
# |
|
11
|
|
|
# This program is distributed in the hope that it will be useful, |
|
12
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14
|
|
|
# GNU General Public License for more details. |
|
15
|
|
|
# |
|
16
|
|
|
# You should have received a copy of the GNU General Public License |
|
17
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
18
|
|
|
|
|
19
|
|
|
from ...gmpv208 import Gmpv208TestCase |
|
20
|
|
|
from .targets import ( |
|
21
|
|
|
GmpCloneTargetTestMixin, |
|
22
|
|
|
GmpCreateTargetTestMixin, |
|
23
|
|
|
GmpDeleteTargetTestMixin, |
|
24
|
|
|
GmpGetTargetsTestMixin, |
|
25
|
|
|
GmpGetTargetTestMixin, |
|
26
|
|
|
GmpModifyTargetTestMixin, |
|
27
|
|
|
) |
|
28
|
|
|
|
|
29
|
|
|
|
|
30
|
|
|
class Gmpv208CloneTargetTestCase(GmpCloneTargetTestMixin, Gmpv208TestCase): |
|
31
|
|
|
pass |
|
32
|
|
|
|
|
33
|
|
|
|
|
34
|
|
|
class Gmpv208CreateTargetTestCase(GmpCreateTargetTestMixin, Gmpv208TestCase): |
|
35
|
|
|
pass |
|
36
|
|
|
|
|
37
|
|
|
|
|
38
|
|
|
class Gmpv208DeleteTargetTestCase(GmpDeleteTargetTestMixin, Gmpv208TestCase): |
|
39
|
|
|
pass |
|
40
|
|
|
|
|
41
|
|
|
|
|
42
|
|
|
class Gmpv208GetTargetTestCase(GmpGetTargetTestMixin, Gmpv208TestCase): |
|
43
|
|
|
pass |
|
44
|
|
|
|
|
45
|
|
|
|
|
46
|
|
|
class Gmpv208GetTargetsTestCase(GmpGetTargetsTestMixin, Gmpv208TestCase): |
|
47
|
|
|
pass |
|
48
|
|
|
|
|
49
|
|
|
|
|
50
|
|
|
class Gmpv208ModifyTargetTestCase(GmpModifyTargetTestMixin, Gmpv208TestCase): |
|
51
|
|
|
pass |
|
52
|
|
|
|