2
0
Fork 0
wuttjamaican/tests/db/model/test_upgrades.py
2024-08-24 10:20:05 -05:00

16 lines
333 B
Python

# -*- 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")