aboutsummaryrefslogtreecommitdiff
path: root/tests/filters/test_clean.py
blob: 32553b45ec3cbff500f6a83961a0a22a561346c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest

import resumejson_converter.filters as filters


def test_clean_no_parameter():
    with pytest.raises(TypeError):
        filters.clean()


def test_clean():
    assert filters.clean("0011223344") == "00 11 22 33 44"