File: test_eigerimage_typo.py

package info (click to toggle)
python-fabio 2025.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,932 kB
  • sloc: python: 24,414; ansic: 1,126; makefile: 145; sh: 5
file content (8 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from pathlib import Path

def test_no_atleat_typo_in_source():
    # Locate the source file directly
    src_file = Path("src/fabio/eigerimage.py")
    assert src_file.exists(), f"Source file not found: {src_file}"
    content = src_file.read_text(encoding="utf-8")
    assert "atleat_2d" not in content, "Typo 'atleat_2d' still present in eigerimage.py"