Skip to content

attempt to fix codacy issues

Codacy Production / Codacy Static Code Analysis required action Nov 15, 2024 in 0s

2 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- tests/ocpp_tests/test_sets/ocpp201/local_authorization_list.py  6
- tests/ocpp_tests/conftest.py  2
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/unplausable_profiles.py  1
- tests/ocpp_tests/test_sets/ocpp201/provisioning.py  3
- tests/ocpp_tests/test_sets/everest_test_utils.py  3
- tests/ocpp_tests/test_sets/ocpp201/transactions.py  10
- tests/ocpp_tests/test_sets/ocpp201/availability.py  23
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/relative_profiles.py  1
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/combined_profiles.py  1
- tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py  3
- tests/ocpp_tests/test_sets/ocpp201/remote_control.py  14
- tests/ocpp_tests/test_sets/validations.py  5
- tests/ocpp_tests/test_sets/ocpp201/meterValues.py  15
- tests/ocpp_tests/test_sets/ocpp201/security.py  4
- tests/ocpp_tests/test_sets/ocpp16/message_queue.py  3
- tests/ocpp_tests/test_sets/ocpp16/plug_and_charge_tests.py  4
- tests/ocpp_tests/test_sets/ocpp16/authorization_tests.py  5
- tests/ocpp_tests/test_sets/ocpp201/data_transfer.py  4
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_tests.py  6
- tests/ocpp_tests/test_sets/ocpp16/broken.py  3
- tests/ocpp_tests/test_sets/ocpp16/booting.py  3
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/absolute_profiles.py  1
- tests/ocpp_tests/test_sets/ocpp201/authorization.py  9
- tests/ocpp_tests/test_sets/ocpp201/iso15118_certificate_management.py  3
- tests/ocpp_tests/test_sets/ocpp16/firmware_and_diagnostics_tests.py  8
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/recurring_profiles.py  1
         

Clones added
============
- tests/ocpp_tests/test_sets/ocpp201/local_authorization_list.py  22
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/unplausable_profiles.py  13
- tests/ocpp_tests/test_sets/ocpp201/provisioning.py  26
- tests/ocpp_tests/test_sets/ocpp201/transactions.py  16
- tests/ocpp_tests/test_sets/ocpp201/availability.py  13
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/relative_profiles.py  15
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/combined_profiles.py  13
- tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py  4
- tests/ocpp_tests/test_sets/ocpp201/remote_control.py  5
- tests/ocpp_tests/test_sets/ocpp201/meterValues.py  4
- tests/ocpp_tests/test_sets/ocpp201/security.py  18
- tests/ocpp_tests/test_sets/ocpp16/message_queue.py  3
- tests/ocpp_tests/test_sets/ocpp16/plug_and_charge_tests.py  12
- tests/ocpp_tests/test_sets/ocpp16/authorization_tests.py  87
- tests/ocpp_tests/test_sets/ocpp201/data_transfer.py  4
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_tests.py  50
- tests/ocpp_tests/test_sets/ocpp16/broken.py  6
- tests/ocpp_tests/test_sets/ocpp16/booting.py  35
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/absolute_profiles.py  44
- tests/ocpp_tests/test_sets/ocpp201/authorization.py  22
- tests/ocpp_tests/test_sets/ocpp201/iso15118_certificate_management.py  4
- tests/ocpp_tests/test_sets/ocpp16/smart_charging_profiles/recurring_profiles.py  16
         

See the complete overview on Codacy

Annotations

Check notice on line 1 in tests/ocpp_tests/README.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/ocpp_tests/README.md#L1

Expected: [None]; Actual: # OCPP Integration Tests

Check warning on line 866 in tests/ocpp_tests/test_sets/ocpp201/security.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/ocpp_tests/test_sets/ocpp201/security.py#L866

Possible hardcoded password: '123456'