Ebauche tdd et makefile ok

This commit is contained in:
Colin Goutte 2024-04-26 15:53:45 +02:00
commit af8fb48efe
2 changed files with 13 additions and 0 deletions

5
python_tableur/Makefile Normal file
View File

@ -0,0 +1,5 @@
test:
python -m unittest
tdd:
ls | entr make test

View File

@ -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")