mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-03 20:26:45 +02:00
12 lines
333 B
Python
12 lines
333 B
Python
from map_machine import REQUIREMENTS
|
|
from pathlib import Path
|
|
|
|
|
|
def test_requirements() -> None:
|
|
requirements: list[str]
|
|
with Path("requirements.txt").open() as requirements_file:
|
|
requirements = list(
|
|
map(lambda x: x[:-1], requirements_file.readlines())
|
|
)
|
|
|
|
assert requirements == REQUIREMENTS
|