

@istest
def installs_necessary_packages_to_provision(self):
    with self.using_stub(AptitudeRole) as aptitude:
        self.role.provision()
        aptitude.ensure_package_installed.assert_called_with('apache2')

dataset/ETHPy150Open python-provy/provy/tests/unit/more/debian/web/test_apache.py ApacheRoleTest.installs_necessary_packages_to_provision/original