def test_insert_datatypes_data(capsys): snippets.insert_datatypes_data(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'Inserted data.' in out
def test_insert_datatypes_data(capsys, instance_id, sample_database): snippets.insert_datatypes_data(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert "Inserted data." in out