Ebauche tdd et makefile ok
This commit is contained in:
commit
af8fb48efe
|
@ -0,0 +1,5 @@
|
|||
test:
|
||||
python -m unittest
|
||||
|
||||
tdd:
|
||||
ls | entr make test
|
|
@ -0,0 +1,8 @@
|
|||
from unittest import TestCase
|
||||
|
||||
from code import database
|
||||
|
||||
|
||||
class FetchFromSpradSheetCast(TestCase):
|
||||
def test_sample_data(self):
|
||||
self.assertEquals(database["Quad_premiers"]["d"], "2401")
|
Loading…
Reference in New Issue