| """Example test file to verify pytest setup.""" | |
| import pytest | |
| def test_example_passes(): | |
| """Example test that always passes.""" | |
| assert True | |
| def test_addition(): | |
| """Test basic addition.""" | |
| assert 1 + 1 == 2 | |
| def test_slow_operation(): | |
| """Example of a slow test (marked for exclusion in quick runs).""" | |
| import time | |
| time.sleep(0.1) | |
| assert True | |