Completed
Push — master ( 486e1a...9be8a7 )
by Jaspar
02:33 queued 36s
created

tests.protocols.gmpv214.entities.test_permissions   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 62
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 26
dl 0
loc 62
rs 10
c 0
b 0
f 0
wmc 0
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.permissions import (
21
    GmpClonePermissionTestMixin,
22
    GmpCreatePermissionTestMixin,
23
    GmpDeletePermissionTestMixin,
24
    GmpGetPermissionTestMixin,
25
    GmpGetPermissionsTestMixin,
26
    GmpModifyPermissionTestMixin,
27
)
28
29
30
class Gmpv208DeletePermissionTestCase(
31
    GmpDeletePermissionTestMixin, Gmpv208TestCase
32
):
33
    pass
34
35
36
class Gmpv208GetPermissionTestCase(GmpGetPermissionTestMixin, Gmpv208TestCase):
37
    pass
38
39
40
class Gmpv208GetPermissionsTestCase(
41
    GmpGetPermissionsTestMixin, Gmpv208TestCase
42
):
43
    pass
44
45
46
class Gmpv208ClonePermissionTestCase(
47
    GmpClonePermissionTestMixin, Gmpv208TestCase
48
):
49
    pass
50
51
52
class Gmpv208CreatePermissionTestCase(
53
    GmpCreatePermissionTestMixin, Gmpv208TestCase
54
):
55
    pass
56
57
58
class Gmpv208ModifyPermissionTestCase(
59
    GmpModifyPermissionTestMixin, Gmpv208TestCase
60
):
61
    pass
62