conftest.py 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. # conftest.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
  2. # This copyright was auto-generated on Thu Feb 27 22:11:09 UTC 2025
  3. from pathlib import Path
  4. import pytest
  5. @pytest.fixture(scope="module")
  6. def sealed_class_as_text() -> str:
  7. return (Path("tests") / "vectors" / "sealed_class.kt").read_text()
  8. @pytest.fixture(scope="module")
  9. def sealed_class_negative_as_text() -> str:
  10. return (Path("tests") / "vectors" / "sealed_class_negative.kt").read_text()
  11. @pytest.fixture(scope="module")
  12. def data_class_as_text() -> str:
  13. return (Path("tests") / "vectors" / "data_class.kt").read_text()
  14. @pytest.fixture(scope="module")
  15. def data_class_negative_as_text() -> str:
  16. return (Path("tests") / "vectors" / "data_class_negative.kt").read_text()
  17. @pytest.fixture(scope="module")
  18. def file_as_text() -> str:
  19. return (Path("tests") / "vectors" / "file.kt").read_text()
  20. @pytest.fixture(scope="module")
  21. def config_as_path() -> Path:
  22. return Path("tests") / "vectors" / "config.toml"