blob: 0cf12191c450bf864099a448dde6b89793ea883a (
plain)
1
2
3
4
5
6
7
8
9
10
|
import pytest
from mdurl import format, parse
from tests.fixtures.url import PARSED as FIXTURES
@pytest.mark.parametrize("url", FIXTURES.keys())
def test_format(url):
parsed = parse(url)
assert format(parsed) == url
|