mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
test(comandas): first test. views -> createComanda
This commit is contained in:
28
gestaoRaul/comandas/tests/test_models.py
Normal file
28
gestaoRaul/comandas/tests/test_models.py
Normal file
@@ -0,0 +1,28 @@
|
||||
from django.test import TestCase
|
||||
|
||||
|
||||
|
||||
class ComandaTestCase(TestCase):
|
||||
def setUp(self):
|
||||
# Setup code for creating test instances of Comanda and other related models
|
||||
pass
|
||||
|
||||
def test_comanda_creation(self):
|
||||
# Test the creation of a Comanda instance
|
||||
pass
|
||||
|
||||
def test_comanda_str_method(self):
|
||||
# Test the __str__ method of the Comanda model
|
||||
pass
|
||||
|
||||
def test_comanda_total_value(self):
|
||||
# Test the total value calculation of a Comanda instance
|
||||
pass
|
||||
|
||||
def test_comanda_status_choices(self):
|
||||
# Test the status choices for the Comanda model
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
# Cleanup code after tests
|
||||
pass
|
||||
Reference in New Issue
Block a user