def test_load_yaml_file(): data = helpers.load_file("tests/data/broker_args.yaml") assert data == BROKER_ARGS_DATA
def test_negative_load_file(): data = helpers.load_file("this/doesnt/exist.something") assert not data
def test_load_json_file(): data = helpers.load_file("tests/data/broker_args.json") assert data == BROKER_ARGS_DATA