Skip to content

Commit

Permalink
Update test_key.py (#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Sep 11, 2023
1 parent 9740d9d commit 4bdce19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/unit/test_key.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

def test_key():
from arcade import key
names = key.__dict__.keys()
# temp fix which will be replaced with fuller, more meaningful
# tests in the coming days. The values are as follows:
# 214 key constants + from __future__ import annotations
assert 215 == len(names)
names = [
k for k in key.__dict__.keys()
if not k.startswith("__") and k.isupper()
]
assert 205 == len(names)

0 comments on commit 4bdce19

Please sign in to comment.