def test_adding_only_custom_secrets(self):
        """Test adding only custom secrets to the UserSecrets."""
        # Create custom secrets
        custom_secrets = {
            'API_KEY': CustomSecret(
                secret=SecretStr('api-key-123'), description='API key'
            ),
            'DATABASE_PASSWORD': CustomSecret(
                secret=SecretStr('db-pass-456'), description='Database password'
            ),
        }

        # Initialize the store with custom secrets
        store = UserSecrets(custom_secrets=custom_secrets)

        # Verify the custom secrets were added correctly
        assert isinstance(store.custom_secrets, MappingProxyType)
        assert len(store.custom_secrets) == 2
        assert (
            store.custom_secrets['API_KEY'].secret.get_secret_value() == 'api-key-123'
        )
        assert (
            store.custom_secrets['DATABASE_PASSWORD'].secret.get_secret_value()
            == 'db-pass-456'
        )

        # Verify provider_tokens is empty
        assert isinstance(store.provider_tokens, MappingProxyType)
        assert len(store.provider_tokens) == 0
Test adding only custom secrets to the UserSecrets.
tests/unit/test_secret_store.py