Skip to content

Commit

Permalink
test: Add new test for util function
Browse files Browse the repository at this point in the history
  • Loading branch information
georgkrause committed Feb 27, 2024
1 parent 1d0bede commit 71506fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from language_data.util import data_filename
import os

def test_data_filename():
test = data_filename("test")
cwd = os.getcwd()

assert test == f"{cwd}/language_data/data/test"

0 comments on commit 71506fa

Please sign in to comment.