'Test RAR deletion after extraction'

@pytest.mark.skipif((rarfile is None), reason=u'rarfile    module    required')
@pytest.mark.filecopy(rar_path, u'__tmp__')
def test_delete_rar(self, execute_task, tmpdir):

    execute_task(u'test_delete_rar')
    assert (not tmpdir.join(self.rar_name).exists()), u'RAR    archive    was    not    deleted.'
