feat: add table/model for app upgrades
This commit is contained in:
parent
e855a84c37
commit
110ff69d6d
14 changed files with 275 additions and 2 deletions
15
tests/db/model/test_upgrades.py
Normal file
15
tests/db/model/test_upgrades.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from unittest import TestCase
|
||||
|
||||
try:
|
||||
from wuttjamaican.db.model import upgrades as mod
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
|
||||
class TestUpgrade(TestCase):
|
||||
|
||||
def test_str(self):
|
||||
upgrade = mod.Upgrade(description="upgrade foo")
|
||||
self.assertEqual(str(upgrade), "upgrade foo")
|
Loading…
Add table
Add a link
Reference in a new issue