Skip to content

Commit

Permalink
init test_dmeta.py as the core test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed May 21, 2024
1 parent 1d6065f commit 140cb09
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/test_dmeta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from dmeta.functions import update, update_all, clear, clear_all


def test_clear():
clear("test_a.docx")
# check the clearance


def test_clear_all():
clear_all()
# check all files clearance


def test_update():
# test meta-data is updated
update("config.json","test_a.docx")


def test_update_all():
# test all files meta-data are updated
update_all("config.json")

0 comments on commit 140cb09

Please sign in to comment.