def METHOD_NAME(session, oscap_content_path, default_org, default_location):
    """Create OpenScap content with same name
    :id: f5c6491d-b83c-4ca2-afdf-4bb93e6dd92b
    :Steps:
        1. Create an openscap content.
        2. Provide all the appropriate parameters.
        3. Create openscap content with same name
    :expectedresults: Creating content for OpenScap is not successful.
    :BZ: 1474172
    :customerscenario: true
    :CaseImportance: Medium
    """
    content_name = gen_string('alpha')
    with session:
        session.organization.select(org_name=default_org.name)
        session.location.select(loc_name=default_location.name)
        session.oscapcontent.create(
            {'file_upload.title': content_name, 'file_upload.scap_file': oscap_content_path}
        )
        assert session.oscapcontent.search(content_name)[0]['Title'] == content_name
        with pytest.raises(AssertionError) as context:
            session.oscapcontent.create(
                {'file_upload.title': content_name, 'file_upload.scap_file': oscap_content_path}
            )
        assert 'has already been taken' in str(context.value)