File: test_utils.py

package info (click to toggle)
subliminal 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,972 kB
  • sloc: python: 10,243; makefile: 166
file content (5 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
from subliminal.utils import sanitize


def test_sanitize():
    assert sanitize("Marvel's Agents of S.H.I.E.L.D.") == 'marvels agents of s h i e l d'