id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16,400 | test_range.py | freeipa_freeipa/ipatests/test_webui/test_range.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 11,806 | Python | .py | 299 | 29.468227 | 79 | 0.598217 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,401 | ui_driver.py | freeipa_freeipa/ipatests/test_webui/ui_driver.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 82,075 | Python | .py | 2,075 | 28.892048 | 109 | 0.563613 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,402 | test_krbtpolicy.py | freeipa_freeipa/ipatests/test_webui/test_krbtpolicy.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 6,326 | Python | .py | 155 | 33.606452 | 78 | 0.654415 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,403 | test_subid.py | freeipa_freeipa/ipatests/test_webui/test_subid.py |
"""
Tests for subordinateid.
"""
from ipatests.test_webui.ui_driver import UI_driver
import ipatests.test_webui.data_config as config_data
import ipatests.test_webui.data_user as user_data
from ipatests.test_webui.ui_driver import screenshot
import re
import pytest
try:
from selenium.common.exceptions import No... | 5,042 | Python | .py | 131 | 30.099237 | 80 | 0.626533 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,404 | test_idviews.py | freeipa_freeipa/ipatests/test_webui/test_idviews.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
from ipatests.test_webui.ui_driver import UI_driver
from ipatests.test_webui.ui_driver import screenshot
import ipatests.test_webui.data_idviews as idview
import ipatests.test_webui.data_user as user
import ipatests.test_webui.data_group as group
i... | 3,965 | Python | .py | 110 | 28.481818 | 76 | 0.622361 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,405 | __init__.py | freeipa_freeipa/ipatests/test_webui/__init__.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 959 | Python | .py | 24 | 38.833333 | 71 | 0.780043 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,406 | data_loginscreen.py | freeipa_freeipa/ipatests/test_webui/data_loginscreen.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
ENTITY = 'user'
PKEY = 'itest-user'
PASSWD_ITEST_USER = '12345678'
PASSWD_ITEST_USER_NEW = '87654321'
ROOT_PKEY = 'root'
# used for add/delete fixture test user
DATA_ITEST_USER = {
'pkey': PKEY,
'add': [
('textbox', 'uid', PKEY),... | 4,927 | Python | .py | 153 | 26.169935 | 73 | 0.579975 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,407 | data_group.py | freeipa_freeipa/ipatests/test_webui/data_group.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 2,960 | Python | .py | 115 | 21.53913 | 71 | 0.589834 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,408 | test_vault.py | freeipa_freeipa/ipatests/test_webui/test_vault.py | # Authors:
# Pavel Vomacka <pvomacka@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 5,694 | Python | .py | 148 | 30.662162 | 78 | 0.632219 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,409 | data_idviews.py | freeipa_freeipa/ipatests/test_webui/data_idviews.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
ENTITY = 'idview'
USER_FACET = 'idoverrideuser'
GROUP_FACET = 'idoverridegroup'
HOST_FACET = 'appliedtohosts'
PKEY = 'itest-view'
DATA = {
'pkey': PKEY,
'add': [
('textbox', 'cn', PKEY),
('textarea', 'description', 'Descrip... | 430 | Python | .py | 18 | 20.333333 | 66 | 0.626829 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,410 | data_vault.py | freeipa_freeipa/ipatests/test_webui/data_vault.py | # Authors:
# Pavel Vomacka <pvomacka@redhat.com>
#
# Copyright (C) 2016 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 1,711 | Python | .py | 59 | 24.949153 | 71 | 0.619539 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,411 | test_selfservice.py | freeipa_freeipa/ipatests/test_webui/test_selfservice.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 10,975 | Python | .py | 255 | 34.462745 | 77 | 0.657089 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,412 | data_config.py | freeipa_freeipa/ipatests/test_webui/data_config.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
ENTITY = 'config'
GRP_SEARCH_FIELD_DEFAULT = 'cn,description'
USR_SEARCH_FIELD_DEFAULT = 'uid,givenname,sn,telephonenumber,ou,title'
DATA = {
'mod': [
('textbox', 'ipasearchrecordslimit', '200'),
('textbox', 'ipasearchtimelimi... | 1,074 | Python | .py | 48 | 18.166667 | 70 | 0.572835 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,413 | test_sudo.py | freeipa_freeipa/ipatests/test_webui/test_sudo.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 4,853 | Python | .py | 113 | 35.451327 | 91 | 0.660661 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,414 | data_selinuxusermap.py | freeipa_freeipa/ipatests/test_webui/data_selinuxusermap.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
from ipaplatform.constants import constants as platformconstants
# for example, user_u:s0
selunux_users = platformconstants.SELINUX_USERMAP_ORDER.split("$")
selinuxuser1 = selunux_users[0]
selinuxuser2 = selunux_users[1]
selinux_mcs_max = platfor... | 3,142 | Python | .py | 106 | 25 | 76 | 0.616352 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,415 | test_realmdomains.py | freeipa_freeipa/ipatests/test_webui/test_realmdomains.py | # -*- coding: utf-8 -*-
# Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 Soft... | 22,023 | Python | .py | 571 | 29.868651 | 79 | 0.632926 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,416 | test_config.py | freeipa_freeipa/ipatests/test_webui/test_config.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 19,710 | Python | .py | 449 | 33.024499 | 79 | 0.60049 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,417 | test_navigation.py | freeipa_freeipa/ipatests/test_webui/test_navigation.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 7,171 | Python | .py | 189 | 29.608466 | 79 | 0.625718 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,418 | test_loginscreen.py | freeipa_freeipa/ipatests/test_webui/test_loginscreen.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
"""
Test LoginScreen widget and all it's views
"""
import urllib
from ipatests.test_webui.ui_driver import UI_driver
from ipatests.test_webui.ui_driver import screenshot
import ipatests.test_webui.data_loginscreen as loginscreen
try:
from sel... | 14,908 | Python | .py | 353 | 32.186969 | 79 | 0.613001 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,419 | test_translation.py | freeipa_freeipa/ipatests/test_webui/test_translation.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
"""
Test translations
"""
from ipatests.test_webui.ui_driver import UI_driver
from ipatests.test_webui.ui_driver import screenshot
try:
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
... | 4,731 | Python | .py | 132 | 28.257576 | 78 | 0.622922 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,420 | data_pwpolicy.py | freeipa_freeipa/ipatests/test_webui/data_pwpolicy.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
import ipatests.test_webui.data_group as group
ENTITY = 'pwpolicy'
DEFAULT_POLICY = 'global_policy'
DATA = {
'pkey': 'admins',
'add': [
('combobox', 'cn', 'admins'),
('textbox', 'cospriority', '364'),
],
'mod': [
... | 2,947 | Python | .py | 104 | 22.625 | 66 | 0.541828 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,421 | test_selinuxusermap.py | freeipa_freeipa/ipatests/test_webui/test_selinuxusermap.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 14,827 | Python | .py | 322 | 36.568323 | 79 | 0.651166 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,422 | test_automount.py | freeipa_freeipa/ipatests/test_webui/test_automount.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 19,588 | Python | .py | 533 | 25.138837 | 79 | 0.510652 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,423 | test_service.py | freeipa_freeipa/ipatests/test_webui/test_service.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 22,479 | Python | .py | 554 | 29.84657 | 79 | 0.588238 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,424 | task_range.py | freeipa_freeipa/ipatests/test_webui/task_range.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 8,309 | Python | .py | 201 | 30.900498 | 79 | 0.585659 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,425 | test_dns.py | freeipa_freeipa/ipatests/test_webui/test_dns.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 5,989 | Python | .py | 160 | 29.1 | 79 | 0.616219 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,426 | crypto_utils.py | freeipa_freeipa/ipatests/test_webui/crypto_utils.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
from datetime import datetime, timedelta, timezone
UTC = timezone.utc
from cryptography import x509
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization, hashes
from cryptography.hazmat.p... | 2,285 | Python | .py | 64 | 29.9375 | 69 | 0.695298 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,427 | test_group.py | freeipa_freeipa/ipatests/test_webui/test_group.py | # Authors:
# Petr Vobornik <pvoborni@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 16,830 | Python | .py | 382 | 34.497382 | 79 | 0.625771 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,428 | test_constants.py | freeipa_freeipa/ipatests/test_ipaplatform/test_constants.py | #
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
import pytest
from ipaplatform.base.constants import User, Group
def test_user_root():
user = User("root")
assert user == "root"
assert str(user) == "root"
assert type(str(user)) is str
assert repr(user) == '<User "root">'
... | 1,603 | Python | .py | 48 | 28.916667 | 73 | 0.668831 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,429 | test_platforms.py | freeipa_freeipa/ipatests/test_ipaplatform/test_platforms.py | #
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
"""Test import and basic properties of platforms
"""
from importlib import import_module
import pytest
from ipaplatform.base.constants import BaseConstantsNamespace, User, Group
from ipaplatform.base.paths import BasePathNamespace
from ipaplatform... | 1,259 | Python | .py | 33 | 34.727273 | 74 | 0.784072 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,430 | test_tasks.py | freeipa_freeipa/ipatests/test_ipaplatform/test_tasks.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import os
import pytest
from ipaplatform.tasks import tasks
@pytest.mark.skip_if_platform(
"debian", reason="Test is specific to platforms using RPM"
)
def test_ipa_version():
v3 = tasks.parse_ipa_v... | 1,662 | Python | .py | 51 | 26.313725 | 71 | 0.621099 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,431 | test_importhook.py | freeipa_freeipa/ipatests/test_ipaplatform/test_importhook.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import os
import sys
import pytest
import ipaplatform.constants
import ipaplatform.paths
import ipaplatform.services
import ipaplatform.tasks
from ipaplatform._importhook import metaimporter
from ipaplatform... | 1,762 | Python | .py | 47 | 34.042553 | 76 | 0.717136 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,432 | test_passwd_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_passwd_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 2,178 | Python | .py | 60 | 31.516667 | 78 | 0.670772 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,433 | test_range_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_range_plugin.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, ei... | 41,528 | Python | .py | 936 | 32.705128 | 121 | 0.59549 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,434 | test_realmdomains_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_realmdomains_plugin.py | # Authors:
# Ana Krivokapic <akrivoka@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 13,841 | Python | .py | 283 | 30.473498 | 232 | 0.464389 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,435 | test_sudocmd_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_sudocmd_plugin.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, eith... | 7,017 | Python | .py | 166 | 33.674699 | 77 | 0.647714 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,436 | test_old_permission_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_old_permission_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 55,595 | Python | .py | 1,342 | 22.921013 | 161 | 0.413872 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,437 | test_host_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_host_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2008, 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the G... | 43,265 | Python | .py | 985 | 32.705584 | 411 | 0.59896 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,438 | test_vault_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_vault_plugin.py | # Authors:
# Endi S. Dewata <edewata@redhat.com>
#
# Copyright (C) 2015 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 33,477 | Python | .py | 946 | 20.765328 | 79 | 0.4418 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,439 | test_idp_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_idp_plugin.py | #
# Copyright (C) 2021 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipaserver.plugins.idp` module.
"""
import pytest
from ipalib import errors
from ipatests.test_xmlrpc.xmlrpc_test import (
XMLRPC_test, raises_exact)
from ipatests.test_xmlrpc.tracker.idp_plugin import IdpTracker
google_auth = "... | 10,024 | Python | .py | 230 | 33.452174 | 80 | 0.628548 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,440 | test_plugins_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_plugins_plugin.py | #
# Copyright (C) 2021 FreeIPA Contributors see COPYING for license
#
"""Test `plugins` plugin
"""
import pytest
from ipalib import api, errors
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
@pytest.mark.tier1
class TestPlugins(XMLRPC_test):
"""Test `plugins` plugin
"""
EXPECTED_KEYS = ("resu... | 1,992 | Python | .py | 49 | 33.469388 | 79 | 0.649586 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,441 | test_caacl_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_caacl_plugin.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipalib.plugins.caacl` module.
"""
import pytest
from ipalib import errors
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
from ipatests.test_xmlrpc.tracker.certprofile_plugin import CertprofileTracker
from ipatests.test_xm... | 5,604 | Python | .py | 127 | 37.590551 | 96 | 0.69919 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,442 | test_add_remove_cert_cmd.py | freeipa_freeipa/ipatests/test_xmlrpc/test_add_remove_cert_cmd.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import base64
import pytest
from ipalib import api, errors
from ipapython.dn import DN
from ipatests.util import assert_deepequal, raises
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
from ipatests.test_xmlrpc.testcert import get_testc... | 20,734 | Python | .py | 454 | 35.753304 | 79 | 0.670513 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,443 | test_hbac_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_hbac_plugin.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 versio... | 19,942 | Python | .py | 486 | 32.220165 | 93 | 0.615579 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,444 | test_schema_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_schema_plugin.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipaserver/plugins/schema.py` module.
"""
import pytest
from ipalib import api, errors
from ipapython.dnsutil import DNSName
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
@pytest.mark.tier1
class TestParamFindAndShowComm... | 17,120 | Python | .py | 379 | 36.401055 | 80 | 0.6229 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,445 | test_netgroup_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_netgroup_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 50,027 | Python | .py | 1,299 | 20.849885 | 94 | 0.398346 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,446 | test_trust_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_trust_plugin.py | # Authors:
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ver... | 6,573 | Python | .py | 156 | 30.282051 | 95 | 0.553281 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,447 | test_dns_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_dns_plugin.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 versio... | 248,504 | Python | .py | 5,819 | 26.149854 | 120 | 0.451077 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,448 | test_certmap_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_certmap_plugin.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
import itertools
import pytest
from ipalib import api, errors
from ipapython.dn import DN
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test, raises_exact
from ipatests.test_xmlrpc.tracker.certmap_plugin import (CertmapruleTracker,
... | 17,877 | Python | .py | 441 | 31.086168 | 79 | 0.631054 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,449 | mock_trust.py | freeipa_freeipa/ipatests/test_xmlrpc/mock_trust.py | # coding: utf-8
#
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
import six
from ipalib import api
def get_range_dn(name):
format_str = "cn={name},cn=ranges,cn=etc,{basedn}"
data = dict(name=name, basedn=api.env.basedn)
return format_str.format(**data)
def get_trust_dn(name):
... | 1,662 | Python | .py | 40 | 35.575 | 86 | 0.685909 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,450 | test_external_members.py | freeipa_freeipa/ipatests/test_xmlrpc/test_external_members.py | # Authors:
# Ana Krivokapic <akrivoka@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 5,751 | Python | .py | 151 | 25.139073 | 158 | 0.510376 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,451 | test_hbactest_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_hbactest_plugin.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
# Alexander Bokovoy <abokovoy@redhat.com>
#
# Copyright (C) 2009-2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published... | 8,462 | Python | .py | 210 | 31.442857 | 116 | 0.61991 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,452 | test_cert_request_ip_address.py | freeipa_freeipa/ipatests/test_xmlrpc/test_cert_request_ip_address.py | #
# Copyright (C) 2019 FreeIPA Contributors see COPYING for license
#
"""
Test certificate requests with IP addresses in SAN, and error
scenarios.
Tests use the default profile (caIPAserviceCert) and the main CA.
The operator is ``admin``.
Various DNS records are created, modified and deleted during this
test.
"""... | 16,617 | Python | .py | 391 | 36.439898 | 78 | 0.685886 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,453 | test_nesting.py | freeipa_freeipa/ipatests/test_xmlrpc/test_nesting.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 7,396 | Python | .py | 188 | 32.5 | 77 | 0.664808 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,454 | testcert.py | freeipa_freeipa/ipatests/test_xmlrpc/testcert.py | #
# Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, eith... | 3,205 | Python | .py | 92 | 30.043478 | 75 | 0.679703 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,455 | test_hbacsvcgroup_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_hbacsvcgroup_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 8,659 | Python | .py | 239 | 22.627615 | 82 | 0.485922 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,456 | test_role_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_role_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
# John Dennis <jdennis@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Genera... | 20,693 | Python | .py | 613 | 18.464927 | 89 | 0.398519 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,457 | test_dns_realmdomains_integration.py | freeipa_freeipa/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py | # Authors:
# Ana Krivokapic <akrivoka@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 7,686 | Python | .py | 181 | 30.232044 | 78 | 0.542819 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,458 | test_selinuxusermap_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_selinuxusermap_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 30,799 | Python | .py | 819 | 22.909646 | 79 | 0.471927 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,459 | test_batch_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_batch_plugin.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 10,036 | Python | .py | 253 | 21.667984 | 79 | 0.411427 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,460 | test_ca_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_ca_plugin.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipalib.plugins.ca` module.
"""
import pytest
from ipalib import errors
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test, fuzzy_issuer
from ipatests.test_xmlrpc.tracker.certprofile_plugin import CertprofileTracker
from ipate... | 6,789 | Python | .py | 162 | 34.432099 | 79 | 0.681327 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,461 | test_whoami_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_whoami_plugin.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""
Test for the `ipaserver/plugins/whoami.py` module.
"""
import pytest
from ipalib import api
from ipatests.util import (unlock_principal_password,
get_entity_keytab,
change_principal,
... | 3,127 | Python | .py | 76 | 30.75 | 75 | 0.60416 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,462 | test_selfservice_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_selfservice_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 9,397 | Python | .py | 251 | 23.621514 | 166 | 0.473915 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,463 | test_servicedelegation_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_servicedelegation_plugin.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipaserver/plugins/serviceconstraint.py` module.
"""
from ipalib import api, errors
from ipatests.test_xmlrpc import objectclasses
from ipatests.test_xmlrpc.xmlrpc_test import Declarative
from ipapython.dn import DN
import pytest
rule... | 20,783 | Python | .py | 599 | 18.310518 | 79 | 0.406005 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,464 | test_permission_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_permission_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 171,251 | Python | .py | 4,211 | 23.937782 | 95 | 0.440566 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,465 | test_passkey_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_passkey_plugin.py | #
# Copyright (C) 2022 FreeIPA Contributors see COPYING for license
#
import pytest
from ipalib import errors
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test, raises_exact
from ipatests.test_xmlrpc.tracker.passkey_plugin import PasskeyconfigTracker
from ipatests.test_xmlrpc.tracker.user_plugin import UserTr... | 6,557 | Python | .py | 141 | 36.546099 | 79 | 0.664371 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,466 | test_baseldap_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_baseldap_plugin.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 7,290 | Python | .py | 180 | 32.933333 | 80 | 0.644444 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,467 | test_hostgroup_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_hostgroup_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008, 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published b... | 6,768 | Python | .py | 155 | 36.367742 | 78 | 0.676949 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,468 | test_user_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_user_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
# Jason Gerard DeRose <jderose@redhat.com>
# Filip Skola <fskola@redhat.com>
#
# Copyright (C) 2008, 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it an... | 48,603 | Python | .py | 1,164 | 32.701031 | 79 | 0.625913 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,469 | test_caacl_profile_enforcement.py | freeipa_freeipa/ipatests/test_xmlrpc/test_caacl_profile_enforcement.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import os
import pytest
import tempfile
import six
from cryptography import x509
from cryptography.x509.oid import NameOID
from cryptography.hazmat.backends import default_backend
fr... | 27,432 | Python | .py | 560 | 37.532143 | 85 | 0.633662 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,470 | test_privilege_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_privilege_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 15,095 | Python | .py | 424 | 20.205189 | 88 | 0.43431 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,471 | test_krbtpolicy.py | freeipa_freeipa/ipatests/test_xmlrpc/test_krbtpolicy.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 15,628 | Python | .py | 375 | 26.368 | 78 | 0.51343 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,472 | test_delegation_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_delegation_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 11,117 | Python | .py | 294 | 23.465986 | 202 | 0.458306 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,473 | test_pwpolicy_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_pwpolicy_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 16,526 | Python | .py | 393 | 30.765903 | 79 | 0.574812 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,474 | __init__.py | freeipa_freeipa/ipatests/test_xmlrpc/__init__.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, ei... | 972 | Python | .py | 24 | 39.375 | 71 | 0.777778 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,475 | test_sudocmdgroup_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_sudocmdgroup_plugin.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, eith... | 8,586 | Python | .py | 184 | 38.326087 | 79 | 0.681807 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,476 | test_stageuser_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_stageuser_plugin.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipaserver/plugins/stageuser.py` module.
"""
import pytest
import six
from collections import OrderedDict
from ipalib import api, errors
from ipalib.constants import ERRMSG_GROUPUSER_NAME
from ipaplatform.constants import constants ... | 28,543 | Python | .py | 649 | 35.14792 | 79 | 0.654711 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,477 | test_certprofile_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_certprofile_plugin.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
"""
Test the `ipalib.plugins.certprofile` module.
"""
import os
import pytest
import six
from ipalib import api, errors
from ipatests.util import prepare_config
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test, ra... | 8,129 | Python | .py | 200 | 33.25 | 79 | 0.681021 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,478 | test_kerberos_principal_aliases.py | freeipa_freeipa/ipatests/test_xmlrpc/test_kerberos_principal_aliases.py | # coding: utf-8
#
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import copy
import ldap
import pytest
from ipalib import errors, api
from ipapython import ipautil
from ipaplatform.paths import paths
from ipatests.util import MockLDAP
from ipatests.test_xm... | 9,812 | Python | .py | 222 | 36.337838 | 77 | 0.677738 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,479 | test_radiusproxy_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_radiusproxy_plugin.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ... | 13,849 | Python | .py | 368 | 23.923913 | 78 | 0.488985 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,480 | test_cert_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_cert_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2009,2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, e... | 19,222 | Python | .py | 466 | 32.459227 | 96 | 0.610269 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,481 | test_group_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_group_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
# Filip Skola <fskola@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General... | 33,326 | Python | .py | 761 | 32.592641 | 79 | 0.586365 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,482 | test_automember_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_automember_plugin.py | # Authors:
# Jr Aquino <jr.aquino@citrix.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 ver... | 63,013 | Python | .py | 1,366 | 33.286969 | 79 | 0.590434 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,483 | test_replace.py | freeipa_freeipa/ipatests/test_xmlrpc/test_replace.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Filip Skola <fskola@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# ... | 2,764 | Python | .py | 66 | 37.090909 | 76 | 0.695976 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,484 | test_otptoken_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_otptoken_plugin.py | #
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
#
"""
Test the otptoken plugin.
"""
from __future__ import print_function
import pytest
from ipalib import api, errors
from ipatests.util import change_principal, unlock_principal_password
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
... | 6,872 | Python | .py | 147 | 35.517007 | 79 | 0.579191 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,485 | test_service_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_service_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 60,456 | Python | .py | 1,510 | 24.101325 | 103 | 0.474361 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,486 | test_idviews_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_idviews_plugin.py | # Authors:
# Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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 vers... | 63,549 | Python | .py | 1,654 | 22.405079 | 87 | 0.462565 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,487 | xmlrpc_test.py | freeipa_freeipa/ipatests/test_xmlrpc/xmlrpc_test.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | 13,600 | Python | .py | 339 | 33.530973 | 101 | 0.645506 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,488 | test_location_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_location_plugin.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import pytest
from ipalib import errors, api
from ipaplatform.services import knownservices
from ipatests.test_xmlrpc.tracker.location_plugin import LocationTracker
from ipatests.test_xmlrpc.tracker.server_pl... | 7,773 | Python | .py | 178 | 34.359551 | 79 | 0.654401 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,489 | test_config_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_config_plugin.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
# Lenka Doudova <ldoudova@redhat.com>
#
# Copyright (C) 2010, 2016 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | 12,256 | Python | .py | 318 | 25.18239 | 96 | 0.51087 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,490 | test_ping_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_ping_plugin.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
# Peter Lacko <placko@redhat.com>
#
# Copyright (C) 2012, 2016 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publishe... | 1,932 | Python | .py | 45 | 39 | 73 | 0.711016 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,491 | test_sudorule_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_sudorule_plugin.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# ... | 34,263 | Python | .py | 830 | 31.727711 | 99 | 0.615 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,492 | objectclasses.py | freeipa_freeipa/ipatests/test_xmlrpc/objectclasses.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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, ei... | 3,980 | Python | .py | 214 | 15.17757 | 71 | 0.667114 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,493 | test_env_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_env_plugin.py | #
# Copyright (C) 2021 FreeIPA Contributors see COPYING for license
#
"""Test `env` plugin
"""
import pytest
from ipalib import api, errors
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
@pytest.mark.tier1
class TestEnv(XMLRPC_test):
"""Test `env` plugin
"""
EXPECTED_KEYS = ("result", "count"... | 3,473 | Python | .py | 87 | 32.413793 | 79 | 0.610617 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,494 | test_attr.py | freeipa_freeipa/ipatests/test_xmlrpc/test_attr.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Filip Skola <fskola@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# ... | 14,931 | Python | .py | 331 | 35.169184 | 79 | 0.617641 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,495 | test_automount_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/test_automount_plugin.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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
# th... | 22,354 | Python | .py | 539 | 31.847866 | 110 | 0.597064 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,496 | sudocmd_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/tracker/sudocmd_plugin.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
from ipatests.test_xmlrpc import objectclasses
from ipatests.test_xmlrpc.xmlrpc_test import fuzzy_uuid, fuzzy_sudocmddn
from ipatests.test_xmlrpc.tracker.base import Tracker
from ipatests.util import assert_deepequal
class SudoCmdTracker(Tracker... | 4,111 | Python | .py | 95 | 33.989474 | 78 | 0.618273 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,497 | server_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/tracker/server_plugin.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
from ipalib import errors
from ipapython.dn import DN
from ipatests.util import assert_deepequal
from ipatests.test_xmlrpc.tracker.base import Tracker
class ServerTracker(Tracker):
"""Tracker for IPA Loc... | 5,027 | Python | .py | 132 | 28.287879 | 76 | 0.596351 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,498 | certmap_plugin.py | freeipa_freeipa/ipatests/test_xmlrpc/tracker/certmap_plugin.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
from ipapython.dn import DN
from ipatests.test_xmlrpc.tracker.base import Tracker
from ipatests.test_xmlrpc.tracker.base import ConfigurationTracker, EnableTracker
from ipatests.test_xmlrpc import objectclasses
from ipatests.test_xmlrpc.xmlrpc_test... | 7,295 | Python | .py | 194 | 26.747423 | 81 | 0.576096 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,499 | kerberos_aliases.py | freeipa_freeipa/ipatests/test_xmlrpc/tracker/kerberos_aliases.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
"""kerberos_aliases
The module implements a mixin class that provides an interface
to the Kerberos Aliases feature of freeIPA.
In order to use the class the child class must implement the
`_make_add_alias_cmd` and `_make_remove_alias_cmd` methods ... | 3,589 | Python | .py | 74 | 39.635135 | 78 | 0.671633 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |