def test_attribute_merge_role_not_found(self):
        # Save new node with a non-existing cookbook assigned
        env.host_string = 'extranode'
        chef.save_config({"run_list": ["role[phantom_role]"]})
        self.assertRaises(SystemExit, chef.build_node_data_bag)
Should print a warning when an assigned role if not found
dataset/ETHPy150Open tobami/littlechef/tests/test_lib.py/TestChef.test_attribute_merge_role_not_found