mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
UI tests for "ID Range": check adding range with overlapping of existing local range
https://pagure.io/freeipa/issue/7709 Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
1 parent
b180991aca
commit
dde4d19f7b
2 files changed
+43
-6
No files matched your search
@@ -31,6 +31,16 @@ TRUSTED_ID_RANGE = 'ipa-ad-trust'
|
||||
|
||||
class range_tasks(UI_driver):
|
||||
|
||||
BASE_RANGE_OVERLAPS_ERROR = (
|
||||
'Constraint violation: '
|
||||
'New base range overlaps with existing base range.'
|
||||
)
|
||||
|
||||
PRIMARY_RID_RANGE_OVERLAPS_ERROR = (
|
||||
'Constraint violation: '
|
||||
'New primary rid range overlaps with existing primary rid range.'
|
||||
)
|
||||
|
||||
def get_shifts(self):
|
||||
result = self.execute_api_from_ui('idrange_find', [], {})
|
||||
idranges = result['result']['result']
|
||||
|
||||
Reference in new issue
Block a user