#!/usr/bin/env python3
"""

"""
from .context import to_bool


def test_to_bool():
    assert to_bool("true")
    assert to_bool("false") is False
    assert to_bool("yes")
    assert to_bool("no") is False
    assert to_bool("NO") is False
    assert to_bool("xzy") is True
    return

#!/usr/bin/env python3
"""

"""
from .context import to_bool


def test_to_bool():
    assert to_bool("true")
    assert to_bool("false") is False
    assert to_bool("yes")
    assert to_bool("no") is False
    assert to_bool("NO") is False
    assert to_bool("xzy") is True
    assert to_bool("xzy", False) is False
    return

add a test on the new optional arg