def pop_stream(f):
    f.flush()
    f.seek(0)
    output = f.read()
    f.seek(0)
    f.truncate()
    return output
If all the models have in the DB, return them all.
dataset/ETHPy150Open openstack/swift/test/unit/common/test_manager.py/pop_stream--crossover with--dataset/ETHPy150Open django-nose/django-nose/unittests/test_databases.py/GetModelsForConnectionTests.test_all_models