Skip to content

DRY - test endpoint

6fe25df
Select commit
Loading
Failed to load commit list.
Merged

281 handle 500 retry error #282

DRY - test endpoint
6fe25df
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 27, 2026 in 28s

Annotations

Check warning on line 89 in tests/mock/api_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "endpoint".

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQV8i8xyZawRnVif&open=AZ0iNQV8i8xyZawRnVif&pullRequest=282

Check warning on line 404 in cwms/api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQYQi8xyZawRnVii&open=AZ0iNQYQi8xyZawRnVii&pullRequest=282

Check warning on line 502 in cwms/api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQYQi8xyZawRnVij&open=AZ0iNQYQi8xyZawRnVij&pullRequest=282

Check warning on line 340 in cwms/api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQYQi8xyZawRnVih&open=AZ0iNQYQi8xyZawRnVih&pullRequest=282

Check warning on line 532 in cwms/api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQYQi8xyZawRnVik&open=AZ0iNQYQi8xyZawRnVik&pullRequest=282

Check warning on line 89 in tests/mock/api_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "headers".

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQV8i8xyZawRnVid&open=AZ0iNQV8i8xyZawRnVid&pullRequest=282

Check warning on line 89 in tests/mock/api_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "data".

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQV8i8xyZawRnVie&open=AZ0iNQV8i8xyZawRnVie&pullRequest=282

Check warning on line 89 in tests/mock/api_test.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "params".

See more on https://sonarcloud.io/project/issues?id=HydrologicEngineeringCenter_cwms-python&issues=AZ0iNQV8i8xyZawRnVig&open=AZ0iNQV8i8xyZawRnVig&pullRequest=282