diff --git a/backend/tests/api/v1/communications/test_poll_complete.py b/backend/tests/api/v1/communications/test_poll_complete.py index 8581e148..8fe07b45 100644 --- a/backend/tests/api/v1/communications/test_poll_complete.py +++ b/backend/tests/api/v1/communications/test_poll_complete.py @@ -644,8 +644,3 @@ class TestPollEdgeCases: # total_voters должен быть 1, не 2 assert response.data['results']['total_voters'] == 1 - url, {'option_ids': [opt1.id, opt2.id]}, format='json' - ) - - # total_voters должен быть 1, не 2 - assert response.data['results']['total_voters'] == 1 diff --git a/backend/tests/api/v1/employees/test_ldap_optional_helpers.py b/backend/tests/api/v1/employees/test_ldap_optional_helpers.py index 7ad5f001..851582f6 100644 --- a/backend/tests/api/v1/employees/test_ldap_optional_helpers.py +++ b/backend/tests/api/v1/employees/test_ldap_optional_helpers.py @@ -8,7 +8,7 @@ import pytest from unittest.mock import Mock from rest_framework.response import Response -from api.v1.employees.views import _is_ldap_enabled, _ldap_try +from api.v1.employees.views._helpers import _is_ldap_enabled, _ldap_try from employees.ldap.errors import ( DirectoryLdapError, DirectoryServiceError,