Skip to content

Commit

Permalink
Delete dumb test
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Feb 7, 2024
1 parent 090adb6 commit bf378a7
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/test_porcupine_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,3 @@ def test_license_file():

def test_copyright():
assert str(datetime.datetime.now().year) in porcupine.__copyright__


# Porcupine dependencies are specified in pyproject.toml, but also kept in
# requirements-dev.txt for a convenient and familiar workflow. You just
# "pip install -r requirements-dev.txt" when you start developing Porcupine.
def test_requirements_and_pyproject_toml_in_sync():
reqs_dev_content = []
with open("requirements-dev.txt") as file:
for line in file:
requirement = line.split("#")[0].strip()
if requirement:
reqs_dev_content.append(requirement)

with open("pyproject.toml", "rb") as file:
toml_content = tomli.load(file)

assert (
toml_content["project"]["dependencies"]
+ toml_content["project"]["optional-dependencies"]["dev"]
== reqs_dev_content
)

0 comments on commit bf378a7

Please sign in to comment.