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
2021-10-04 22:53:20 +02:00
committed by Florence Blanc-Renaud
parent 4f5ed837b4
commit a286cd31ec

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)