add regression test (fixes issue 105)
This commit is contained in:
@@ -20,6 +20,8 @@ Fixed Bugs
|
|||||||
******************
|
******************
|
||||||
|
|
||||||
- fix issue 83: api test downgrade/upgrade does not work with sql scripts
|
- 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
|
- fix issue 113 and issue 123: column creation in make_update_script_for_model
|
||||||
and required API change
|
and required API change
|
||||||
- fix issue 118: upgrade and downgrade functions are reversed when using the
|
- fix issue 118: upgrade and downgrade functions are reversed when using the
|
||||||
|
@@ -44,6 +44,12 @@ class TestAPI(Pathed):
|
|||||||
api.create(repo, 'temp')
|
api.create(repo, 'temp')
|
||||||
api.version(repo)
|
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):
|
def test_source(self):
|
||||||
repo = self.tmp_repos()
|
repo = self.tmp_repos()
|
||||||
api.create(repo, 'temp')
|
api.create(repo, 'temp')
|
||||||
|
Reference in New Issue
Block a user