add regression test (fixes issue 105)
This commit is contained in:
parent
18c3f68d41
commit
324a2c766d
@ -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
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user