GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — surrender_scenarios/conftest.py at master · SurRenderSoftware/surrender_scenarios

Expand file tree

/

conftest.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
8 lines (8 loc) · 1.03 KB
/

conftest.py

Copy path

File metadata and controls

8 lines (8 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
# Needed for pytest to add CLI options to facilitate the production of control values (especially images)
def pytest_addoption(parser):
parser.addoption("--gen-ref", action="store_true", help="Don't perform checks, instead generate reference image (override if exists) with 1024 rays per pixel")
parser.addoption("--gen-hist", action="store_true", help="Don't perform checks, instead generate (override if exists) error histograms relative to reference image")
parser.addoption("--gen-thres", action="store_true", help="Don't perform checks, instead generate error threshold (replace if exists)")
parser.addoption("--save", action="store_true", help="In addition of checks, also save all test images and error histograms to ./save/ directory")
parser.addoption("--host", type=str, default="localhost", help="When using surrender_client_pytest class or s fixture, choose host to connect to")
parser.addoption("--port", type=int, default=5151, help="When using surrender_client_pytest class or s fixture, choose port to connect to")
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.