def test_magic_function():
    two_way_conversion_test("=def schema(argument1, argument2):\n"
                            "  print(argument1)\n"
                            "\n",
                            "module.exports.schema = function(argument1, argument2) {\n"
                            "  console.log(argument1);\n"
                            "};\n",
                            "module.exports.schema = def(argument1, argument2):\n"
                            "  print(argument1)\n"
                            "\n")
Test to ensure assigning a function works as expected
dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_magic_function