|
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 ...gmpv208.entities.port_lists import ( |
|
21
|
|
|
GmpClonePortListTestMixin, |
|
22
|
|
|
GmpCreatePortListTestMixin, |
|
23
|
|
|
GmpCreatePortRangeTestMixin, |
|
24
|
|
|
GmpDeletePortListTestMixin, |
|
25
|
|
|
GmpDeletePortRangeTestMixin, |
|
26
|
|
|
GmpGetPortListsTestMixin, |
|
27
|
|
|
GmpGetPortListTestMixin, |
|
28
|
|
|
GmpModifyPortListTestMixin, |
|
29
|
|
|
) |
|
30
|
|
|
|
|
31
|
|
|
|
|
32
|
|
|
class Gmpv208ClonePortListTestCase(GmpClonePortListTestMixin, Gmpv208TestCase): |
|
33
|
|
|
pass |
|
34
|
|
|
|
|
35
|
|
|
|
|
36
|
|
|
class Gmpv208CreatePortListTestCase( |
|
37
|
|
|
GmpCreatePortListTestMixin, Gmpv208TestCase |
|
38
|
|
|
): |
|
39
|
|
|
pass |
|
40
|
|
|
|
|
41
|
|
|
|
|
42
|
|
|
class Gmpv208CreatePortRangeListTestCase( |
|
43
|
|
|
GmpCreatePortRangeTestMixin, Gmpv208TestCase |
|
44
|
|
|
): |
|
45
|
|
|
pass |
|
46
|
|
|
|
|
47
|
|
|
|
|
48
|
|
|
class Gmpv208DeletePortListTestCase( |
|
49
|
|
|
GmpDeletePortListTestMixin, Gmpv208TestCase |
|
50
|
|
|
): |
|
51
|
|
|
pass |
|
52
|
|
|
|
|
53
|
|
|
|
|
54
|
|
|
class Gmpv208DeletePortRangeTestCase( |
|
55
|
|
|
GmpDeletePortRangeTestMixin, Gmpv208TestCase |
|
56
|
|
|
): |
|
57
|
|
|
pass |
|
58
|
|
|
|
|
59
|
|
|
|
|
60
|
|
|
class Gmpv208GetPortListTestCase(GmpGetPortListTestMixin, Gmpv208TestCase): |
|
61
|
|
|
pass |
|
62
|
|
|
|
|
63
|
|
|
|
|
64
|
|
|
class Gmpv208GetPortListsTestCase(GmpGetPortListsTestMixin, Gmpv208TestCase): |
|
65
|
|
|
pass |
|
66
|
|
|
|
|
67
|
|
|
|
|
68
|
|
|
class Gmpv208ModifyPortListTestCase( |
|
69
|
|
|
GmpModifyPortListTestMixin, Gmpv208TestCase |
|
70
|
|
|
): |
|
71
|
|
|
pass |
|
72
|
|
|
|