String must be quoted.
This commit is contained in:
parent
e3015a5e81
commit
096fc6637e
2 changed files with 38 additions and 1 deletions
37
tests/exemple1.ipynb
Normal file
37
tests/exemple1.ipynb
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"cells": [
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "initial_id",
|
||||||
|
"metadata": {
|
||||||
|
"collapsed": true
|
||||||
|
},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"metadata": {
|
||||||
|
"kernelspec": {
|
||||||
|
"display_name": "Python 3",
|
||||||
|
"language": "python",
|
||||||
|
"name": "python3"
|
||||||
|
},
|
||||||
|
"language_info": {
|
||||||
|
"codemirror_mode": {
|
||||||
|
"name": "ipython",
|
||||||
|
"version": 2
|
||||||
|
},
|
||||||
|
"file_extension": ".py",
|
||||||
|
"mimetype": "text/x-python",
|
||||||
|
"name": "python",
|
||||||
|
"nbconvert_exporter": "python",
|
||||||
|
"pygments_lexer": "ipython2",
|
||||||
|
"version": "2.7.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nbformat": 4,
|
||||||
|
"nbformat_minor": 5
|
||||||
|
}
|
|
@ -12,7 +12,7 @@ Alice_card = Card("Alice", 6060)
|
||||||
Machine = Machine()
|
Machine = Machine()
|
||||||
|
|
||||||
|
|
||||||
Machine.authenticate(Alice_card, 6060, azerty)
|
Machine.authenticate(Alice_card, 6060, "azerty")
|
||||||
|
|
||||||
|
|
||||||
Machine.vote(Alice_card)
|
Machine.vote(Alice_card)
|
Loading…
Reference in a new issue