PyTest - Fixtures
Identify the mistake in the following pytest code snippet:
import pytest
@pytest.fixture
def config():
return {"mode": "test"}
def test_config():
assert config["mode"] == "test"