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 .secinfo import ( |
21
|
|
|
GmpGetCertBundTestMixin, |
22
|
|
|
GmpGetCertBundListTestMixin, |
23
|
|
|
GmpGetCpeTestMixin, |
24
|
|
|
GmpGetCpeListTestMixin, |
25
|
|
|
GmpGetCveTestMixin, |
26
|
|
|
GmpGetCveListTestMixin, |
27
|
|
|
GmpGetDfnCertTestMixin, |
28
|
|
|
GmpGetDfnCertListTestMixin, |
29
|
|
|
GmpGetInfoListTestMixin, |
30
|
|
|
GmpGetInfoTestMixin, |
31
|
|
|
GmpGetNvtFamiliesTestMixin, |
32
|
|
|
GmpGetNvtTestMixin, |
33
|
|
|
GmpGetNvtListTestMixin, |
34
|
|
|
GmpGetOvalDefTestMixin, |
35
|
|
|
GmpGetOvalDefListTestMixin, |
36
|
|
|
GmpGetScanConfigNvtsTestMixin, |
37
|
|
|
GmpGetScanConfigNvtTestMixin, |
38
|
|
|
) |
39
|
|
|
|
40
|
|
|
|
41
|
|
|
class Gmpv208GetCertBundTestCase(GmpGetCertBundTestMixin, Gmpv208TestCase): |
42
|
|
|
pass |
43
|
|
|
|
44
|
|
|
|
45
|
|
|
class Gmpv208GetCpeTestCase(GmpGetCpeTestMixin, Gmpv208TestCase): |
46
|
|
|
pass |
47
|
|
|
|
48
|
|
|
|
49
|
|
|
class Gmpv208GetCveTestCase(GmpGetCveTestMixin, Gmpv208TestCase): |
50
|
|
|
pass |
51
|
|
|
|
52
|
|
|
|
53
|
|
|
class Gmpv208GetDfnCertCase(GmpGetDfnCertTestMixin, Gmpv208TestCase): |
54
|
|
|
pass |
55
|
|
|
|
56
|
|
|
|
57
|
|
|
class Gmpv208GetOvalDefCase(GmpGetOvalDefTestMixin, Gmpv208TestCase): |
58
|
|
|
pass |
59
|
|
|
|
60
|
|
|
|
61
|
|
|
class Gmpv208GetInfoListTestCase(GmpGetInfoListTestMixin, Gmpv208TestCase): |
62
|
|
|
pass |
63
|
|
|
|
64
|
|
|
|
65
|
|
|
class Gmpv208GetInfoTestCase(GmpGetInfoTestMixin, Gmpv208TestCase): |
66
|
|
|
pass |
67
|
|
|
|
68
|
|
|
|
69
|
|
|
class Gmpv208GetNvtTestCase(GmpGetNvtTestMixin, Gmpv208TestCase): |
70
|
|
|
pass |
71
|
|
|
|
72
|
|
|
|
73
|
|
|
class Gmpv208GetScanConfigNvtTestCase( |
74
|
|
|
GmpGetScanConfigNvtTestMixin, Gmpv208TestCase |
75
|
|
|
): |
76
|
|
|
pass |
77
|
|
|
|
78
|
|
|
|
79
|
|
|
class Gmpv208GetNvtFamiliesTestCase( |
80
|
|
|
GmpGetNvtFamiliesTestMixin, Gmpv208TestCase |
81
|
|
|
): |
82
|
|
|
pass |
83
|
|
|
|
84
|
|
|
|
85
|
|
|
class Gmpv208GetScanConfigNvtsTestCase( |
86
|
|
|
GmpGetScanConfigNvtsTestMixin, Gmpv208TestCase |
87
|
|
|
): |
88
|
|
|
pass |
89
|
|
|
|
90
|
|
|
|
91
|
|
|
class Gmpv208GetCertBundListTestCase( |
92
|
|
|
GmpGetCertBundListTestMixin, Gmpv208TestCase |
93
|
|
|
): |
94
|
|
|
pass |
95
|
|
|
|
96
|
|
|
|
97
|
|
|
class Gmpv208GetCpeListTestCase(GmpGetCpeListTestMixin, Gmpv208TestCase): |
98
|
|
|
pass |
99
|
|
|
|
100
|
|
|
|
101
|
|
|
class Gmpv208GetCveListTestCase(GmpGetCveListTestMixin, Gmpv208TestCase): |
102
|
|
|
pass |
103
|
|
|
|
104
|
|
|
|
105
|
|
|
class Gmpv208GetDfnCertListCase(GmpGetDfnCertListTestMixin, Gmpv208TestCase): |
106
|
|
|
pass |
107
|
|
|
|
108
|
|
|
|
109
|
|
|
class Gmpv208GetNvtListTestCase(GmpGetNvtListTestMixin, Gmpv208TestCase): |
110
|
|
|
pass |
111
|
|
|
|
112
|
|
|
|
113
|
|
|
class Gmpv208GetOvalDefListTestCase( |
114
|
|
|
GmpGetOvalDefListTestMixin, Gmpv208TestCase |
115
|
|
|
): |
116
|
|
|
pass |
117
|
|
|
|