diff --git a/docs/changelog.rst b/docs/changelog.rst index 873be7c..7f8f700 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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 diff --git a/migrate/tests/versioning/test_api.py b/migrate/tests/versioning/test_api.py index 3e6fdeb..855c49c 100644 --- a/migrate/tests/versioning/test_api.py +++ b/migrate/tests/versioning/test_api.py @@ -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')