Skip to content

Commit

Permalink
adding copyright year test
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 14, 2024
1 parent f37ed8c commit ba596aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test__version__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
from __future__ import annotations

from datetime import datetime

from screenpy_selenium import __version__


def test_metadata() -> None:
assert __version__.__title__ == "screenpy_selenium"
assert __version__.__license__ == "MIT"
assert __version__.__author__ == "Perry Goy"


def test_copyright_year() -> None:
current = datetime.now().year
assert f"{current}" in __version__.__copyright__

0 comments on commit ba596aa

Please sign in to comment.