Added explanation for tests

dveni-patch-1
Carlos A. Iglesias 5 years ago
parent 79aa057926
commit 33d79e27b1

@ -280,7 +280,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {
"deletable": false,
"editable": false,
@ -293,7 +293,17 @@
"solution": false
}
},
"outputs": [],
"outputs": [
{
"data": {
"application/javascript": [
"IPython.CodeCell.options_default.highlight_modes['magic_turtle'] = {'reg':[/^%%ttl/]};"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from helpers import *\n",
"from rdflib import term, RDF, Namespace"
@ -320,12 +330,30 @@
"# YOUR ANSWER HERE\n",
"```\n",
"\n",
"Execute the following line. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"."
"Execute the following line without any modification. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"."
]
},
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "f6eb0c6c19c1756d7705f52866b00f82",
"grade": false,
"grade_id": "cell-a4ed500079ba36ca",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"Now run the tests:"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {
"deletable": false,
"nbgrader": {
@ -337,7 +365,21 @@
"solution": true
}
},
"outputs": [],
"outputs": [
{
"data": {
"text/markdown": [
"File loaded!"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%ttl example\n",
"\n",
@ -346,20 +388,9 @@
},
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "f6eb0c6c19c1756d7705f52866b00f82",
"grade": false,
"grade_id": "cell-a4ed500079ba36ca",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"metadata": {},
"source": [
"Now run the tests:"
"Now run the tests executing the following cell. You will see they fail (as expected)."
]
},
{

Loading…
Cancel
Save