+1
−2
+68
−2
+191
−0
+73
−6
Loading
* Introduced `is_valid` property to check if TDoc metadata is valid. * Added `has_valid_url` property as an alias for `is_valid`. * Implemented `validate_url_accessible` method to check URL accessibility via HTTP HEAD requests. * Added logging for validation failures and successful checks. test(cli): enhance tests for open and checkout commands with whatthespec fallback * Added tests to verify behavior when TDocs are missing and no credentials are available. * Ensured that whatthespec fallback is triggered and TDocs are correctly inserted into the database. * Verified that the CLI handles missing TDocs gracefully and reports errors correctly. test(targeted_fetch): implement tests for whatthespec fallback scenarios * Created tests to ensure whatthespec is used when no credentials are available. * Verified multiple TDocs can be fetched and inserted correctly. * Handled graceful failure scenarios when whatthespec does not return data. test(whatthespec): add unit tests for WhatTheSpec resolution * Implemented tests for successful resolution, error handling, and field mapping. * Verified that defaults are used for missing fields and agenda item numbers are handled correctly. * Ensured that the HTTP session is closed after resolution.