MCPcopy Create free account

hub / github.com/WECENG/ticket-purchase / functions

Functions124 in github.com/WECENG/ticket-purchase

Functionreset_environment
Reset environment variables for each test.
tests/conftest.py:107
Functionsample_html_response
Provide sample HTML response for parsing tests.
tests/conftest.py:71
Methodselect_quantity_on_page_pc
在PC端详情页选择数量
damai/concert.py:1313
Functiontemp_dir
Create a temporary directory for tests.
tests/conftest.py:14
Functiontest_check_chrome_detects_windows_program_files_install
Chrome installed in Program Files should be detected on Windows.
tests/unit/test_check_environment_windows.py:12
Functiontest_check_version_match_uses_windows_chrome_and_driver_paths
Version matching should work for Windows Chrome and chromedriver.exe.
tests/unit/test_check_environment_windows.py:29
Methodtest_conftest_exists
Test that conftest.py exists with fixtures.
tests/test_setup_validation.py:35
Methodtest_coverage_configured
Test that coverage is properly configured in pyproject.toml.
tests/test_setup_validation.py:145
Functiontest_find_chrome_reads_windows_install_version_directory
On Windows, chrome.exe --version can open an existing browser session instead of printing a version, so fall back to the versioned install di
tests/unit/test_check_environment_windows.py:53
Functiontest_get_chromedriver_paths_includes_autoinstaller_cache
Environment checks should find drivers downloaded by chromedriver-autoinstaller.
tests/unit/test_check_environment_windows.py:85
Methodtest_integration_marker_works
Test that the integration marker is properly configured.
tests/test_setup_validation.py:65
Methodtest_mock_appium_driver_fixture
Test that mock_appium_driver fixture provides a mock driver.
tests/test_setup_validation.py:107
Methodtest_mock_config_fixture
Test that mock_config fixture provides expected configuration.
tests/test_setup_validation.py:91
Methodtest_mock_file_operations_fixture
Test that mock_file_operations fixture works correctly.
tests/test_setup_validation.py:133
Methodtest_mock_selenium_driver_fixture
Test that mock_selenium_driver fixture provides a mock driver.
tests/test_setup_validation.py:99
Methodtest_mock_time_fixture
Test that mock_time fixture mocks time functions.
tests/test_setup_validation.py:120
Methodtest_packages_importable
Test that the main packages can be imported.
tests/test_setup_validation.py:44
Methodtest_project_structure_exists
Test that the required project structure is in place.
tests/test_setup_validation.py:13
Methodtest_pyproject_toml_exists
Test that pyproject.toml exists and is properly configured.
tests/test_setup_validation.py:24
Functiontest_pytest_can_discover_tests
Meta-test to ensure pytest can discover this test file.
tests/test_setup_validation.py:158
Methodtest_sample_html_response_fixture
Test that sample_html_response fixture provides HTML content.
tests/test_setup_validation.py:114
Methodtest_slow_marker_works
Test that the slow marker is properly configured.
tests/test_setup_validation.py:71
Methodtest_temp_dir_fixture
Test that temp_dir fixture creates a temporary directory.
tests/test_setup_validation.py:80
Methodtest_unit_marker_works
Test that the unit marker is properly configured.
tests/test_setup_validation.py:59
← previous101–124 of 124, ranked by callers