clean up, plus fixed test case

This commit is contained in:
Askill 2024-08-17 08:11:52 +02:00
parent 3f756292b2
commit 146cc3717c
3 changed files with 2 additions and 5 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
.vscode/*
# C extensions # C extensions
*.so *.so

View File

@ -1,3 +0,0 @@
{
"nuxt.isNuxtApp": false
}

View File

@ -10,7 +10,7 @@ def test__BasketService():
bs.scan("1", "A0001") bs.scan("1", "A0001")
bs.scan("1", "A0002") bs.scan("1", "A0002")
bs.scan("1", "A0002") bs.scan("1", "A0002")
assert bs.total("1") == 33.2 assert bs.total("1") == 39.1
print("total: ", bs.total("1")) print("total: ", bs.total("1"))
test__BasketService() test__BasketService()