<filename>bootstrap_scoped/util/test/test__test.py<gh_stars>1-10
# imports - module imports
from bootstrap_scoped._compat    import StringIO, input
from bootstrap_scoped.util._test import mock_input, assert_input

def test_mock_input(capfd):
    query = "foobar"

    assert_input(capfd, query, "Y")
    assert_input(capfd, query, "Y", input_ = input)
<filename>bootstrap_scoped/util/test/test__test.py<gh_stars>1-10
# imports - module imports
from bootstrap_scoped._compat    import StringIO, input
from bootstrap_scoped.util._test import mock_input, assert_input

def test_mock_input(capfd):
    query = "foobar"

    assert_input(capfd, query, "Y")
    assert_input(capfd, query, "Y", input_ = input)
# imports - module imports