2
0
Fork 0
wuttjamaican/tests/db/model/test_upgrades.py

16 lines
333 B
Python
Raw Normal View History

2024-08-24 10:20:05 -05:00
# -*- 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")