def METHOD_NAME(workspace, second_workspace, database):
    if database.engine.dialect.name == 'sqlite':
        return
    populate_workspace(workspace)
    populate_workspace(second_workspace)
    workspace = Workspace.query_with_count(True, workspace_name=workspace.name).fetchone()
    workspace = dict(workspace)
    assert workspace['vulnerability_web_count'] == C_WEB_VULN_COUNT
    assert workspace['vulnerability_code_count'] == C_SOURCE_CODE_VULN_COUNT
    assert workspace['vulnerability_standard_count'] == sum(
        C_STANDARD_VULN_COUNT)
    assert workspace['vulnerability_total_count'] == (
        sum(C_STANDARD_VULN_COUNT) + C_WEB_VULN_COUNT + C_SOURCE_CODE_VULN_COUNT
    )