//! Gated smoke test against the real Gitea. Skips cleanly when Gitea is //! unreachable (the project's skip-on-no-dependency convention) so it never //! fails on an offline machine. use docsite::gitea::{Fetcher, GiteaClient}; #[test] fn aura_glossary_is_fetchable_from_live_gitea() { let client = GiteaClient::new("http://192.168.178.103:3000"); match client.fetch_raw("Brummel/aura", "main", "docs/glossary.md") { Ok(body) => assert!(!body.is_empty(), "live glossary should be non-empty"), Err(e) => { eprintln!("skip: live Gitea unreachable or auth-gated: {e:?}"); } } }