'Creates a new knowledge base article.
Deletes the article.
Verifies the deletion.'

def test_that_article_can_be_deleted(self, base_url, selenium, variables):

    user = variables['users']['admin']
    kb_new_article = KnowledgeBaseNewArticle(base_url, selenium).open(user['username'], user['password'])
    mock_article = MockArticle()
    kb_new_article.set_article(mock_article)
    kb_new_article.submit_article()
    kb_article_history = kb_new_article.set_article_comment_box(mock_article['comment'])
    kb_article = kb_article_history.navigation.click_article()
    article_url = kb_article.url_current_page
    kb_article_history = kb_article.navigation.click_show_history()
    kb_article_history.delete_entire_article_document()
    kb_article_history.selenium.get(article_url)
    actual_page_title = kb_article_history.page_title
    assert ('Page    Not    Found' in actual_page_title)
