diff --git a/code-ch10/Chapter10.ipynb b/code-ch10/Chapter10.ipynb index d825b0e5..9bb3acba 100644 --- a/code-ch10/Chapter10.ipynb +++ b/code-ch10/Chapter10.ipynb @@ -27,9 +27,9 @@ "source": [ "### Exercise 1\n", "\n", - "Determine what this network message is:\n", + "Write the `parse` method for `NetworkEnvelope`.\n", "\n", - "`f9beb4d976657261636b000000000000000000005df6e0e2`" + "#### Make [this test](/edit/code-ch10/network.py) pass: `network.py:NetworkEnvelopeTest:test_parse`" ] }, { @@ -40,10 +40,8 @@ "source": [ "# Exercise 1\n", "\n", - "message_hex = 'f9beb4d976657261636b000000000000000000005df6e0e2'\n", - "\n", - "# convert to binary\n", - "# see what the bytes 4 through 16 aregi" + "reload(network)\n", + "run(network.NetworkEnvelopeTest(\"test_parse\"))" ] }, { @@ -52,9 +50,9 @@ "source": [ "### Exercise 2\n", "\n", - "Write the `parse` method for `NetworkEnvelope`.\n", + "Determine what this network message is:\n", "\n", - "#### Make [this test](/edit/code-ch10/network.py) pass: `network.py:NetworkEnvelopeTest:test_parse`" + "`f9beb4d976657261636b000000000000000000005df6e0e2`" ] }, { @@ -65,8 +63,10 @@ "source": [ "# Exercise 2\n", "\n", - "reload(network)\n", - "run(network.NetworkEnvelopeTest(\"test_parse\"))" + "message_hex = 'f9beb4d976657261636b000000000000000000005df6e0e2'\n", + "\n", + "# convert to binary\n", + "# see what the bytes 4 through 16 aregi" ] }, {