feat: add basic "create order" feature, docs, tests
just the package API docs so far, narrative will come later
This commit is contained in:
parent
89265f0240
commit
ef07d30a85
86 changed files with 7749 additions and 35 deletions
15
tests/db/model/test_customers.py
Normal file
15
tests/db/model/test_customers.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from wuttjamaican.testing import DataTestCase
|
||||
|
||||
from sideshow.db.model import customers as mod
|
||||
|
||||
|
||||
class TestPendingCustomer(DataTestCase):
|
||||
|
||||
def test_str(self):
|
||||
customer = mod.PendingCustomer()
|
||||
self.assertEqual(str(customer), "")
|
||||
|
||||
customer.full_name = "Fred Flintstone"
|
||||
self.assertEqual(str(customer), "Fred Flintstone")
|
Loading…
Add table
Add a link
Reference in a new issue