Files
rendercv/tests
Sina Atalay 7034a5e70b Fix 3 bugs found by Hypothesis property-based testing
1. clean_url: use rstrip("/") instead of single-slash strip. URLs
   with multiple trailing slashes (e.g., "example.com//") now clean
   fully. Also restores idempotency (clean(clean(x)) == clean(x)).

2. get_date_object: use Date(year, 1, 1) instead of
   Date.fromisoformat(f"{date}-01-01"). The fromisoformat call
   crashed on years < 1000 because it requires 4-digit year strings.

3. build_date_placeholders: use f"{year % 100:02d}" for
   YEAR_IN_TWO_DIGITS instead of str(year)[-2:]. The slice produced
   1-char output for single-digit years (e.g., year 9 gave "9"
   instead of "09").

Test ranges widened back to full datetime.date range now that the
source code handles all values correctly.
2026-03-25 16:28:20 +03:00
..