def test_run_command(self, command): command.__name__ = 'ReindexCommand' base.run_command(self.cmd, 'dev.ini -p "project 3"') command(command.__name__).run.assert_called_with( ['dev.ini', '-p', 'project 3'])
def test_run_command(self, command): command.__name__ = 'ReindexCommand' base.run_command(self.cmd, 'dev.ini -p "project 3"') command(command.__name__).run.assert_called_with(['dev.ini', '-p', 'project 3'])