Skip to content

Commit

Permalink
chore(test): Add simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
lcaflc committed Sep 11, 2023
1 parent 8d58ae1 commit 2a6e14e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pvecontrol/test_pvecontrol.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from . import pvecontrol

def test_filter_keys():
input = {'test': "toto", 'none': "noninclude"}
filter = ["test"]
assert pvecontrol._filter_keys(input, filter) == {'test': "toto"}

0 comments on commit 2a6e14e

Please sign in to comment.