webui tests: remove unnecessary code in add_record

Pkeys are not used anywhere in the method thus can be removed.

Related: https://pagure.io/freeipa/issue/9036

Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Petr Vobornik authored and Florence Blanc-Renaud committed 2021-11-22 17:58:20 +01:00
1 parent 4f5ed837b4
commit a286cd31ec
1 file changed
-4
-4
View File
@@ -1441,10 +1441,6 @@ class UI_driver:
last_element = data[len(data) - 1]
pkeys = []
for record in data:
pkeys.append(record['pkey'])
if navigate:
self.navigate_to_entity(entity, facet)