From c12542b351e4957d84a90dcd54bee8cff6372cd7 Mon Sep 17 00:00:00 2001 From: Mendo6472 Date: Mon, 13 May 2024 11:43:13 -0500 Subject: [PATCH 01/16] REF:TEST: Refactored test to comply with test design --- .../admin_user/administrator_user_list.html | 4 +- .../admin_user/components/user_list.html | 4 +- .../templates/components/LeftSideMenu.html | 4 +- .../tests/functionality/__init__.py | 2 +- .../functionality/admin_user/___init___.py | 1 - .../functionality/admin_user/__init__.py | 1 + .../functionality/admin_user/admin_user.py | 67 +++- .../tests/functionality/auth/login.py | 24 ++ .../functionality/control_board/__init__.py | 1 - .../control_board_external_user.py | 71 ---- .../functionality/left_panel/__init__.py | 1 + .../left_panel/left_panel_navitagion.py | 98 +++++ .../request_creation/create_hiring_request.py | 84 +++++ .../request_hiring/request_hiring.py | 343 +++++++++++++++++- .../functionality/statistics/__init__.py | 1 + .../functionality/statistics/statistics.py | 160 ++++++++ .../views/request_hiring/change_state.py | 2 - 17 files changed, 777 insertions(+), 91 deletions(-) delete mode 100644 hiring_module/hiring_app/tests/functionality/admin_user/___init___.py create mode 100644 hiring_module/hiring_app/tests/functionality/admin_user/__init__.py delete mode 100644 hiring_module/hiring_app/tests/functionality/control_board/__init__.py delete mode 100644 hiring_module/hiring_app/tests/functionality/control_board/control_board_external_user.py create mode 100644 hiring_module/hiring_app/tests/functionality/left_panel/__init__.py create mode 100644 hiring_module/hiring_app/tests/functionality/left_panel/left_panel_navitagion.py create mode 100644 hiring_module/hiring_app/tests/functionality/statistics/__init__.py create mode 100644 hiring_module/hiring_app/tests/functionality/statistics/statistics.py diff --git a/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html b/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html index 48daacf..d43f727 100644 --- a/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html +++ b/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% load static %} {% block title %} -Panel de control +Lista de usuarios {% endblock %} @@ -60,7 +60,7 @@
-

Panel de control

+

Lista de usuarios

diff --git a/hiring_module/hiring_app/templates/admin_user/components/user_list.html b/hiring_module/hiring_app/templates/admin_user/components/user_list.html index 00f9402..1538047 100644 --- a/hiring_module/hiring_app/templates/admin_user/components/user_list.html +++ b/hiring_module/hiring_app/templates/admin_user/components/user_list.html @@ -1,11 +1,11 @@
-

Solicitudes de contratación

+

Lista de usuarios

-
Listado de solicitudes de contratación
+
Listado de usuarios del equipo
Agregar usuario diff --git a/hiring_module/hiring_app/templates/components/LeftSideMenu.html b/hiring_module/hiring_app/templates/components/LeftSideMenu.html index c21daf2..4923021 100644 --- a/hiring_module/hiring_app/templates/components/LeftSideMenu.html +++ b/hiring_module/hiring_app/templates/components/LeftSideMenu.html @@ -16,7 +16,7 @@