diff options
Diffstat (limited to 'tests/test_stash.py')
| -rw-r--r-- | tests/test_stash.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_stash.py b/tests/test_stash.py new file mode 100644 index 0000000..b87c882 --- /dev/null +++ b/tests/test_stash.py @@ -0,0 +1,9 @@ +from pathlib import Path +from ymlstash import YmlStash + + +def test_stash_path(): + stash = YmlStash("foo") + assert stash.path == Path("foo") + stash = YmlStash(Path("foo")) + assert stash.path == Path("foo") |
