Fix parameter order and binding

The calls didn't match up with the parameter order.
This commit is contained in:
Adrian Sampson 2017-06-10 20:19:27 -04:00
parent 231528784d
commit 714560aace
2 changed files with 3 additions and 3 deletions

View file

@ -1450,8 +1450,8 @@ default_commands.append(modify_cmd)
# move: Move/copy files to the library or a new base directory.
def move_items(lib, dest, query, copy, album, pretend, export=False,
confirm=False):
def move_items(lib, dest, query, copy, album, pretend, confirm=False,
export=False):
"""Moves or copies items to a new base directory, given by dest. If
dest is None, then the library's base directory is used, making the
command "consolidate" files.

View file

@ -499,7 +499,7 @@ class ExportTest(_common.TestCase):
def _move(self, query=(), dest=None, copy=False, album=False,
pretend=False, export=True):
commands.move_items(self.lib, dest, query, copy, album,
pretend, export)
pretend, export=export)
def test_export_item(self):
self._move()