def test_creates_pipe_from_object_json(tmpdir: str): assert tuple(pype.json(OBJECT_JSON_PATH)) == (('a', 1.), ('fun', 2.), ('day', 3.))
def test_creates_pipe_from_list_json(tmpdir: str): assert tuple(pype.json(LIST_JSON_PATH)) == (1, 2, 3, 5, 8, 13)
def test_creates_pipe_from_null_json(tmpdir: str): assert tuple(pype.json(NULL_JSON_PATH)) == (None, )
def test_creates_pipe_from_boolean_json(tmpdir: str): assert tuple(pype.json(BOOLEAN_JSON_PATH)) == (True, )
def test_creates_pipe_from_string_json(tmpdir: str): assert tuple(pype.json(STRING_JSON_PATH)) == ('forty-two', )
def test_creates_pipe_from_number_json(tmpdir: str): assert tuple(pype.json(NUMBER_JSON_PATH)) == (42, )