def log_contains(self, expected_text):
        with open(self.security_log_path) as f:
            logged_text = f.read()
        return expected_text in logged_text

    ###########################
    # test security settings
    ###########################
dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/rest-service/manager_rest/test/security/test_userstore_and_roles_reload.py/TestUserstoreReloadFile.log_contains/original