File: const.py

package info (click to toggle)
python-nyt-games 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: python: 488; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
"""Constants for tests."""

from importlib import metadata

MOCK_URL = "https://nytimes.com"
version = metadata.version("nyt_games")

HEADERS = {
    "User-Agent": f"PythonNYTGames/{version}",
    "Accept": "application/json",
}