Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaeldiscky committed Jun 2, 2024
1 parent 99f0c2c commit 31544aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/example/main.py → src/example/parking_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ def addCar(self, carType: int) -> bool:




3 changes: 1 addition & 2 deletions tests/test_example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.example.main import ParkingSystem
from src.example.parking_system import ParkingSystem
import unittest

# test using unittest
Expand All @@ -17,7 +17,6 @@ def test_addCar(self):
self.assertEqual(ps.addCar(1), False)



# test using pytest
def test_addCar():
ps = ParkingSystem(1, 1, 0)
Expand Down

0 comments on commit 31544aa

Please sign in to comment.