# Run all testspytest# Run with verbose outputpytest -v# Run specific test filepytest tests/test_provider_garmin.py# Run tests matching patternpytest -k "test_oauth"# Run with coverage reportpytest --cov=connect --cov-report=html
@pytest.mark.integration@pytest.mark.asyncioasync def test_complete_oauth_flow(): """Test complete OAuth flow""" provider = ThetaGarminProvider() # Test link request = MockRequest(user_id="test_user") result = await provider.link(request) assert "link_web_url" in result