add regression test (fixes issue 105)

This commit is contained in:
Jan Dittberner 2011-10-28 16:14:21 +02:00
parent 18c3f68d41
commit 324a2c766d
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,8 @@ Fixed Bugs
******************
- fix issue 83: api test downgrade/upgrade does not work with sql scripts
- fix issue 105: passing a unicode string as the migrate repository fails (add
regression test)
- fix issue 113 and issue 123: column creation in make_update_script_for_model
and required API change
- fix issue 118: upgrade and downgrade functions are reversed when using the

View File

@ -44,6 +44,12 @@ class TestAPI(Pathed):
api.create(repo, 'temp')
api.version(repo)
def test_version_control(self):
repo = self.tmp_repos()
api.create(repo, 'temp')
api.version_control('sqlite:///', repo)
api.version_control('sqlite:///', unicode(repo))
def test_source(self):
repo = self.tmp_repos()
api.create(repo, 'temp')