feat: add basic model, views for Stores
This commit is contained in:
parent
76075f146c
commit
3ef84ff706
11 changed files with 348 additions and 1 deletions
15
tests/db/model/test_stores.py
Normal file
15
tests/db/model/test_stores.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from wuttjamaican.testing import DataTestCase
|
||||
|
||||
from sideshow.db.model import stores as mod
|
||||
|
||||
|
||||
class TestPendingCustomer(DataTestCase):
|
||||
|
||||
def test_str(self):
|
||||
store = mod.Store()
|
||||
self.assertEqual(str(store), "")
|
||||
|
||||
store.name = "Acme Goods"
|
||||
self.assertEqual(str(store), "Acme Goods")
|
Loading…
Add table
Add a link
Reference in a new issue