<commit_before># -*- coding: utf-8 -*-

from cuisine import package_ensure as cuisine_ensure
from cuisine import package_install as cuisine_install
from cuisine import package_update as cuisine_update

from revolver import package

def test_revolver_is_just_a_wrapper():
    assert package.ensure == cuisine_ensure
    assert package.install == cuisine_install
    assert package.update == cuisine_update<commit_msg>Tests fixed<commit_after># -*- coding: utf-8 -*-

from cuisine import package_ensure as cuisine_ensure
from cuisine import package_install as cuisine_install
from cuisine import package_update as cuisine_update

from revolver import package

from .utils import assert_contain_function_wrapped

def test_revolver_is_just_a_wrapper():
    assert_contain_function_wrapped(package.ensure, cuisine_ensure)
    assert_contain_function_wrapped(package.install, cuisine_install)
    assert_contain_function_wrapped(package.update, cuisine_update)
{'fraction_non_alphanumeric': 0.05450733752620545, 'fraction_numerical': 0.0020964360587002098, 'mean_word_length': 6.4609375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2859781', 'n_tokens_mistral': 273, 'n_tokens_neox': 254, 'n_words': 73}