Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Oct 12, 2020
1 parent bc2dc76 commit a274820
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ def test_slugify():
('_85QotzbzHY', '_85QotzbzHY'),
('dot.dot', 'dot.dot'),
]:
assert logya.util.slugify(value) == expected
assert logya.util.slugify(value) == expected


def test_paths():
assert site_paths.public.as_posix() == 'tests/fixtures/site/public'

0 comments on commit a274820

Please sign in to comment.