Automate test using @pytest.fixture for setup
Preconditions (2)
Step 1: Create a fixture function named 'sample_data' that returns a dictionary with keys 'name' and 'age'
Step 2: Create a test function 'test_sample_data' that uses the 'sample_data' fixture as a parameter
Step 3: Inside the test, assert that 'name' in sample_data equals 'Alice'
Step 4: Assert that 'age' in sample_data equals 30
✅ Expected Result: The test passes confirming the fixture provides correct data