Skip to content

Commit

Permalink
Bump version for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
witten committed Apr 24, 2020
1 parent dce1928 commit e4eff0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
1.5.2.dev0
1.5.2
* #301: Fix MySQL restore error on "all" database dump by excluding system tables.
* Fix PostgreSQL restore error on "all" database dump by using "psql" for the restore instead of
"pg_restore".

1.5.1
* #289: Tired of looking up the latest successful archive name in order to pass it to borgmatic
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = '1.5.2.dev0'
VERSION = '1.5.2'


setup(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/hooks/test_postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def test_restore_database_dumps_runs_pg_restore_with_username_and_password():
module.restore_database_dumps(databases, 'test.yaml', {}, dry_run=False)


def test_restore_all_database_dump():
def test_restore_database_dumps_runs_psql_for_all_database_dump():
databases = [{'name': 'all'}]
flexmock(module).should_receive('make_dump_path').and_return('')
flexmock(module.dump).should_receive('make_database_dump_filename').and_return(
Expand Down

0 comments on commit e4eff0e

Please sign in to comment.